Link
What is the CIA DEVLAN Intranet?
0 notes
Text
Inject Dll From Memory Into A Remote Process (InjectLibraryFromMemory)
[this is sourced from wikileaks Vault7 dump @ https://wikileaks.org/ciav7p1/cms/page_16385092.html
OSB Library: Payload Deployment
Module Name: InjectLibraryFromMemory_NCPT - Inception
Module Description: The module allocates memory in another remote process and copies a self-loading shim DLL image into the allocated memory. It then allocates memory for the payload and a remote arguments structure and copies this data across as well. Finally, the loaded calls the exported ordinal 1 of the shim with a pointer to the args strucure. The shim performs base relocations, resolves imports and then calls the DllMain entrypoint of itself with PROCESS_ATTACH. Once the shim has bootstrapped itself it uses the open source MemoryModule library to memory load the payload DLL. All fixups are handled in the remote process. The payload and shim never touch disk.
All of that above basically means this is undetectable by AntiVirus
PSP/OS Issues: Any PSP/OS issues associated with the technique.
('excerpt' missing)
Sharing Level: Liaison
Technique Origin: Memory loading code is based on the open source Memory Module.cpp with modification to allow the shim to self-load. The self-loading technique itself is in-house.
Notes: The Shim DLLs are prebuilt and stored as melomy-style header files. The Shims are XOR-ed with 0xB2.
Module Specific Structures:
Example Code:
// Injects improvedDummyDll into notepad.exe IPayload::PayloadErr retVal; HANDLE hProc = NULL; retVal = InjectFromMemory::OpenProcessByName(&hProc, L"notepad.exe"); if (SUCCEEDED(retVal) && hProc != NULL) { InjectLibraryFromMemory_NCPT myInject; retVal = myInject.execute(improvedDummyDll, sizeof(improvedDummyDll), hProc, sizeof(HANDLE), NULL); CloseHandle(hProc); }
0 notes
Photo

What is DEVLAN?
0 notes
Quote
There are three major networks in [CIA's] AED(Applied Engineering Division) that will concern you to start. 1 DEVLAN – Top Secret network, dirty environment where we do 90% of our work. If you are reading this, you are on DEVLAN. 2 FIN – Unclassified SC0 (CIA attributable) network. This is for your general use (Google, Stackoverflow, etc). 3 4STAR – Unclassified SC1 (US Government attributable) network. Much slower network than FIN, but our MSDN accounts are tied to it. This will be used mostly for MSDN downloads.
https://wikileaks.org/ciav7p1/cms/page_11629035.html
0 notes
Link
Ever wanted to hack like the CIA? Follow their instructions to setup your own development environment! #CIA #Vault7
0 notes