‘ retweeted
“seja apaixonado pelos seus dias comuns”
- dia tomando de morador
- dia que fiquei de xereca
- dia que fiquei de exemplo
‘ retweeted
> Soy analista de ciberseguridad.
> Analizo la ciberseguridad.
> Ta mal la cosa.
> Me voy.
‘ retweeted
trabalho: vou te oprimir
amigos: te odiamos
banco: voce tem -1483938 de saldo
cerveja: estou quente
caixao: deitar em mim
neurose: oiiii
‘ retweeted
Process Injection is one of the most fundamental capabilities of malware. It plays a role both in establishing a foothold after initial access and during post-exploitation, but the technique suffers from a fundamental problem: its traditional behavior is predictable and well understood by defensive solutions.
The classic Remote Process Injection flow can be roughly summarized in four stages:
1. Enumerate processes on the compromised machine;
2. Obtain a handle to the target process;
3. Allocate and write shellcode into the target process's memory space;
4. Change the memory region's permissions from RW to RX.
The set of WINAPIs designed for these operations is relatively small, which makes life easier for EDRs. The list of the most sensitive APIs is short:
VirtualAllocEx → NtAllocateVirtualMemory
VirtualProtectEx → NtProtectVirtualMemory
WriteProcessMemory → NtWriteVirtualMemory
Whether through kernel callbacks or userland hooks on ntdll, these calls are easily monitored. There are ways to deal with this problem, including simply not performing process injection, at least not during initial access, and choosing something like DLL Sideloading. But we want a challenge, right? :)
In the screenshot I show something different. It is possible to write into a remote process's memory without invoking sensitive APIs such as NtAllocateVirtualMemory or NtWriteVirtualMemory.
Based on an article written by the amazing researcher @TwoSevenOneT, I developed a shellcode runner that successfully evades Windows Defender (with Cloud-Delivered Protection enabled) by poisoning a target process hStdInput. The technique abuses Windows console applications (such as netsh.exe) by redirecting the child process's hStdInput handle via CreateProcess with STARTF_USESTDHANDLES. The content written to the Named Pipe ends up allocated in the target process's memory by the operating system itself, with no explicit call to VirtualAllocEx or WriteProcessMemory.
To locate the shellcode in remote memory, the payload is preceded by a previously established byte sequence that serves as a marker. The runner scans the target process's memory for this pattern, identifies the region, adjusts permissions, and redirects execution to the shellcode.
None of the most sensitive APIs are used for writing the payload. Three APIs that are also used, among other purposes, in traditional injection are present (VirtualProtectEx, CreateProcessW, and ResumeThread), but outside their traditional context they are far less suspicious.
Currently, this shellcode runner PoC would not successfully evade top-tier EDRs, but the goal was to demonstrate viability, not perfection. A little bit more evasion tomfoolery would be enough.
The link to the article that guided me through this experiment will be down below, make sure to do something useful with your life and read it.
Keep Hacking,
Sp1d3rM_*!^
Vejam como até nos cargos mais altos de TI nesse mundo ainda tem gente CABAÇO TOTAL quando o assunto é segurança.
Isso aqui é uma piada.
币安刚刚发布了初步调查报告,梳理了他们是如何被朝鲜黑客,盗取了 60 多亿美金。
某位币安软件工程师,在求职网站上挂着简历,结果一位自称项目总监的人,主动联系他,说有个潜在岗位想聊聊。
对方安排了一位 HR 跟他视频面试,真人露脸。为了让他放下戒心,这位 HR 还把自己的社交账号发给了他,上面有他本人的生活照和视频,看着就像真实存在的人。
然后到了第二轮面试,对方换到一个常用的聊天软件上,跟一位自称是这家公司 CEO 的人聊,但其实公司是假的。
等面试快结束时,对方让他下载一份代码题,作为技术测试,结果这位币安员工,在工作电脑上下载运行了它。
这份代码,在安装环节偷偷自动执行,把电脑上一个正常的开发工具 pyenv,换成了带木马的版本,然后跟黑客的服务器连上,还会自己清理痕迹。
就连币安当时的杀毒软件,也没查出来。
从这台电脑开始,朝鲜黑客一步步渗透内部,摸进了交易所的钱包系统,一个多月后币安被盗了 60 多亿美金。
关键是现在领英上,还有一群币安在职员工的信息,这些估计都是朝鲜黑客的潜在欺诈对象。
‘ retweeted
bro can these hackers do something useful instead of screwing over working class people, why are you hacking fucking grocery store fridges you stupid fucks






































