Browse Source

First add of actual ATT&CK stuff

pull/8/head
root 5 years ago
parent
commit
d44538cb60
11 changed files with 535 additions and 403 deletions
  1. +7
    -3
      Draft/Building A Pentest Lab.md
  2. +1
    -1
      Draft/CTFs & Wargames -.md
  3. +39
    -43
      Draft/Cheat sheets reference pages Checklists -.md
  4. +11
    -11
      Draft/Exploit Development.md
  5. +5
    -5
      Draft/Programming - Languages Libs Courses References.md
  6. +1
    -1
      Draft/Web & Browsers.md
  7. +14
    -0
      Draft/Windows_Lateral_Movement.md
  8. +373
    -0
      Draft/Windows_Persistence.md
  9. +5
    -0
      Draft/index.md
  10. +2
    -0
      Draft/readme.md
  11. +77
    -339
      Draft/things-added.md

+ 7
- 3
Draft/Building A Pentest Lab.md View File

@ -109,13 +109,17 @@ Windows Server 2003
Windows XP
Windows Vista
Windows 7
Windows Server 2008r2
Windows Server 2012r2
Windows 8
Windows Server 2008
Windows Server 2012
Windows 10
Windows Server 2016
for
Centos 6.5
Debian 7
Debian 8
Ubuntu 14.04
Ubuntu 16.04
That gives you a fair amount of variation in environments as well as allowing you to create specific environments you might see. I list the three most common Distros and all windows going back to XP since, Windows is everywhere.
i


+ 1
- 1
Draft/CTFs & Wargames -.md View File

@ -79,7 +79,7 @@ Making/Hosting your own CTF
### <a name="vulnvm">Vulnerable Virtual Machines</a>
[Vulnhub](Https://www.Vulnhub.com)
[Vulnhub](https://www.Vulnhub.com)
[The Hacker Games](http://www.scriptjunkie.us/2012/04/the-hacker-games/)
* VM Setup to practice VM breakouts/defense. Hack the VM before it hacks you!


+ 39
- 43
Draft/Cheat sheets reference pages Checklists -.md View File

@ -1,8 +1,7 @@
##Cheat Sheets & Reference Pages
## Cheat Sheets & Reference Pages
TOC
* Cull
#### TOC
* [General](#General)
* [ASM(x86/64/ARM)](#ASM)
* [Android](#Android)
@ -23,38 +22,24 @@ TOC
CULL
[Penetration Testing Tools Cheat Sheet](https://highon.coffee/blog/penetration-testing-tools-cheat-sheet/)
| **tmux Cheat Sheet** | http://tmuxcheatsheet.com/
[IdaRef](https://github.com/nologic/idaref)
* IDA Pro Full Instruction Reference Plugin - It's like auto-comments but useful.
[Assembler Language Instructions](http://www.laynetworks.com/assembly%20tutorials3.htm)
#### CULL
[SiLK Toolsuite Quick Reference Guide](https://tools.netsa.cert.org/silk/silk-quickref.pdf)
[SSRF Bible Cheatsheet](https://docs.google.com/document/d/1v1TkWZtrhzRLy0bYXBcdLUedXGb9njTNIJXa3u9akHM/edit)
http://www.amanhardikar.com/mindmaps.html
http://www.amanhardikar.com/mindmaps/Practice.html
#### end cull
[Management Frames Reference Sheet](http://download.aircrack-ng.org/wiki-files/other/managementframes.pdf)
[Radare2 Cheat sheet](https://github.com/pwntester/cheatsheets/blob/master/radare2.md)
## General
[How to Suck at Information Security](https://zeltser.com/suck-at-security-cheat-sheet/)
[Windows Privilege Escalation Cheat Sheet/Tricks](http://it-ovid.blogspot.fr/2012/02/windows-privilege-escalation.html)
[SiLK Toolsuite Quick Reference Guide](https://tools.netsa.cert.org/silk/silk-quickref.pdf)
http://www.amanhardikar.com/mindmaps.html
http://www.amanhardikar.com/mindmaps/Practice.html
###<a name="General">General Cheat Sheets</a>
### <a name="General">General Cheat Sheets</a>
[Tips for Troubleshooting Human Communications](https://zeltser.com/human-communications-cheat-sheet/)
@ -64,10 +49,15 @@ http://www.amanhardikar.com/mindmaps/Practice.html
[General Tricks](http://averagesecurityguy.info/cheat-sheet/)
[Penetration Testing Tools Cheat Sheet](https://highon.coffee/blog/penetration-testing-tools-cheat-sheet/)
[tmux Cheat Sheet](http://tmuxcheatsheet.com/)
###<a name="ASM">x86/64/ARM</a>
### <a name="ASM">x86/64/ARM</a>
[x86 opcode structure and instruction overview](http://pnx.tf/files/x86_opcode_structure_and_instruction_overview.pdf)
@ -75,23 +65,23 @@ http://www.amanhardikar.com/mindmaps/Practice.html
[Reading ASM](http://cseweb.ucsd.edu/classes/sp11/cse141/pdf/02/S01_x86_64.key.pdf)
[Assembler Language Instructions](http://www.laynetworks.com/assembly%20tutorials3.htm)
###<a name="Android">Android Cheat Sheets</a>
### <a name="Android">Android Cheat Sheets</a>
[Android ADB cheat sheet](https://github.com/maldroid/adb_cheatsheet/blob/master/cheatsheet.pdf?raw=true)
###<a name="ios">iOS Cheat Sheets</a>
### <a name="ios">iOS Cheat Sheets</a>
###<a name="Linux">Linux Cheat Sheets</a>
### <a name="Linux">Linux Cheat Sheets</a>
[Linux Syscall Table](http://www.informatik.htw-dresden.de/~beck/ASM/syscall_list.html)
* Complete listing of all Linux Syscalls
@ -99,13 +89,13 @@ http://www.amanhardikar.com/mindmaps/Practice.html
###<a name="Windows">Windows Cheat Sheets</a>
### <a name="Windows">Windows Cheat Sheets</a>
[Windows Startup Application Database](http://www.pacs-portal.co.uk/startup_content.php)
###<a name="Exploitation">Exploitation Cheat Sheets</a>
### <a name="Exploitation">Exploitation Cheat Sheets</a>
[Linux - Breaking out of shells](https://highon.coffee/docs/linux-commands/#breaking-out-of-limited-shells)
@ -114,16 +104,21 @@ http://www.amanhardikar.com/mindmaps/Practice.html
[RootVG - Website Dedicated to AIX](http://www.rootvg.net/content/view/102/98/)
[Windows Privilege Escalation Cheat Sheet/Tricks](http://it-ovid.blogspot.fr/2012/02/windows-privilege-escalation.html)
###<a name="Exploitation">Exploit Dev Cheat Sheets</a>
### <a name="Exploitation">Exploit Dev Cheat Sheets</a>
[x86 opcode structure and instruction overview](http://pnx.tf/files/x86_opcode_structure_and_instruction_overview.pdf)
[Nasm x86 reference](https://www.cs.uaf.edu/2006/fall/cs301/support/x86/)
### <a name="Metasploit">Metasploit Cheat Sheets</a>
[Metasploit 4.2 documentation](https://community.rapid7.com/docs/DOC-1751)
@ -134,7 +129,7 @@ http://www.amanhardikar.com/mindmaps/Practice.html
[Tips & Tricks](https://en.wikibooks.org/wiki/Metasploit/Tips_and_Tricks)
###<a name="For">Forensics/IR Cheat Sheets</a>
### <a name="For">Forensics/IR Cheat Sheets</a>
[File Signature Table](http://www.garykessler.net/library/file_sigs.html)
@ -150,16 +145,16 @@ http://www.amanhardikar.com/mindmaps/Practice.html
###<a name="Malware">Malware Cheat Sheet</a>
### <a name="Malware">Malware Cheat Sheet</a>
[Reverse Engineering Malware Cheat Sheet](https://zeltser.com/reverse-malware-cheat-sheet/)
[Analyzing Malicious Documents Cheat Sheet](https://zeltser.com/analyzing-malicious-documents/)
###<a name="RE">Reverse Engineering Cheat Sheets</a>
### <a name="RE">Reverse Engineering Cheat Sheets</a>
[Radare2 Cheat-Sheet](https://github.com/pwntester/cheatsheets/blob/master/radare2.md
[Radare2 Cheat-Sheet](https://github.com/pwntester/cheatsheets/blob/master/radare2.md)
[WinDbg Cheat Sheet/mindmap](http://tylerhalfpop.com/2014/08/16/windbg-cheatsheet/)
@ -167,12 +162,12 @@ http://www.amanhardikar.com/mindmaps/Practice.html
[Arm instruction set](http://simplemachines.it/doc/arm_inst.pdf)
[IdaRef](https://github.com/nologic/idaref)
* IDA Pro Full Instruction Reference Plugin - It's like auto-comments but useful.
###<a name="Web">Web Cheat Sheets</a>
### <a name="Web">Web Cheat Sheets</a>
[WebAppSec Testing Checklist](http://tuppad.com/blog/wp-content/uploads/2012/03/WebApp_Sec_Testing_Checklist.pdf)
@ -184,15 +179,16 @@ http://www.amanhardikar.com/mindmaps/Practice.html
[Securing Web Application Technologies Checklist](http://www.securingthehuman.org/developer/swat)
[SSRF Bible Cheatsheet](https://docs.google.com/document/d/1v1TkWZtrhzRLy0bYXBcdLUedXGb9njTNIJXa3u9akHM/edit)
### Wireless Cheat Sheet
[Management Frames Reference Sheet](http://download.aircrack-ng.org/wiki-files/other/managementframes.pdf)
### <a name="DB">Database Cheat Sheets</a>
###<a name="DB">Database Cheat Sheets</a>
[Checklist for mongodb](http://blog.mongodirector.com/10-tips-to-improve-your-mongodb-security/
)
[Checklist for mongodb](http://blog.mongodirector.com/10-tips-to-improve-your-mongodb-security/)

+ 11
- 11
Draft/Exploit Development.md View File

@ -303,7 +303,7 @@ I have tried to order the articles by technique and chronology.
---------------------------
* [Exploiting format string vulnerabilities, scut / Team-TESO, 2001](http://crypto.stanford.edu/cs155old/cs155-spring08/papers/formatstring-1.2.pdf)
*[Advances in format string exploitation, gera, 2002](http://www.phrack.com/issues.html?issue=59&id=7)
* [An alternative method in format string exploitation, K-sPecial, 2006](http://www.milw0rm.com/papers/103)
* [An alternative method in format string exploitation, K-sPecial, 2006](https://web.archive.org/web/20070513143544/http://www.milw0rm.com/papers/103)
* [Maximum Overkill Two - From Format String Vulnerability to Remote Code Execution](https://barrebas.github.io/blog/2015/02/22/maximum-overkill-two-from-format-string-vulnerability-to-remote-code-execution/)
* [Exploiting Format Strings: Getting the Shell](http://resources.infosecinstitute.com/exploiting-format-strings-getting-the-shell/)
@ -363,21 +363,21 @@ I have tried to order the articles by technique and chronology.
### <a name="aslr"> ASLR:</a>
* [Exploit writing tutorial part 6 : Bypassing Stack Cookies, SafeSeh, SEHOP, HW DEP and ASLR](https://www.corelan.be/index.php/2009/09/21/exploit-writing-tutorial-part-6-bypassing-stack-cookies-safeseh-hw-dep-and-aslr/)
* [Aslr Smack and Laugh Reference](http://www-users.rwth-aachen.de/Tilo.Mueller/ASLRpaper.pdf)
* [Advanced Buffer Overflow Methods](http:/www.cs.tau.ac.il/tausec/lectures/Advanced_Buffer_Overflow_Methods.ppt)
* [Advanced Buffer Overflow Methods - http:/www.cs.tau.ac.il/tausec/lectures/Advanced_Buffer_Overflow_Methods.ppt ] \\ Link doesn't render
* [Smack the Stack](http://www.sts.synflood.de/dump/doc/smackthestack.txt)
* [Exploiting the random number generator to bypass ASLR](https://www.blackhat.com/presentations/bh-europe-09/Fritsch/Blackhat-Europe-2009-Fritsch-Bypassing-aslr-whitepaper.pdf)
[Wikipedia on ASLR](https://www.en.wikipedia.org/wiki/Address_space_layout_randomization)
* [Bypassing Memory Protections: The Future of Exploitation](usenix.org/events/sec09/tech/slides/sotirov.pdf)
* [On the Effectiveness of Address-Space Randomization](stanford.edu/~blp/papers/asrandom.pdf)
* [Exploiting with linux-gate.so.1](milw0rm.com/papers/55)
* [Circumventing the VA kernel patch For Fun and Profit](milw0rm.com/papers/94)
* [Defeating the Matasano C++ Challenge](timetobleed.com/defeating-the-matasano-c-challenge-with-aslr-enabled/)
* [Bypassing PaX ASLR protection](phrack.com/issues.html?issue=59&id=9)
* [Thoughts about ASLR, NX Stack and format string attacks](nibbles.tuxfamily.org/?p=1190)
* [Wikipedia on ASLR](https://www.en.wikipedia.org/wiki/Address_space_layout_randomization)
* [Bypassing Memory Protections: The Future of Exploitation](http://www.usenix.org/events/sec09/tech/slides/sotirov.pdf)
* [On the Effectiveness of Address-Space Randomization](https://www.stanford.edu/~blp/papers/asrandom.pdf)
* [Exploiting with linux-gate.so.1](https://web.archive.org/web/20100205151431/milw0rm.com/papers/55)
* [Circumventing the VA kernel patch For Fun and Profit](https://web.archive.org/web/20090826171410/http://www.milw0rm.com:80/papers/94)
* [Defeating the Matasano C++ Challenge](https://timetobleed.com/defeating-the-matasano-c-challenge-with-aslr-enabled/)
* [Bypassing PaX ASLR protection](https://www.phrack.com/issues.html?issue=59&id=9)
* [Thoughts about ASLR, NX Stack and format string attacks](https://www.nibbles.tuxfamily.org/?p=1190)
* [Return-into-libc without Function Calls](cseweb.ucsd.edu/~hovav/dist/geometry.pdf)
* [Linux ASLR Curiosities. Tavis Ormandy. Julien Tinnes](cr0.org/paper/to-jt-linux-alsr-leak.pdf)
* [Fun With Info-Leaks(DEP+ASLR bypass)](https://rh0dev.github.io/blog/2015/fun-with-info-leaks/)/
..* This article is about information leaks in form of memory disclosures created in Internet Explorer 10 32-bit on Windows 7 64-bit. They are used to bypass full ASLR/DEP to gain remote code execution. While the software containing the bug might not be that popular, it’s quite nice what can be done with the bug.
..* This article is about information leaks in form of memory disclosures created in Internet Explorer 10 32-bit on Windows 7 64-bit. They are used to bypass full ASLR/DEP to gain remote code execution. While the software containing the bug might not be that popular, it's quite nice what can be done with the bug.
* [Exploiting Buffer Overflows On Kernels With Aslr Enabled Using Brute Force On The Stack Layer](http://www.securitytube.net/video/273)
* [Bypassing The Linux Kernel Aslr And Exploiting A Buffer Overflow Vulnerable Application With Ret2esp](http://www.securitytube.net/video/178)
* This video tutorial illustrates how to exploit an application vulnerable to buffer overflow under a modern 2.6 Linux kernel with ASLR, bypassing stack layer randomization by search a jmp *%esp inside the executable file and forcing our program to jump there.


+ 5
- 5
Draft/Programming - Languages Libs Courses References.md View File

@ -20,7 +20,7 @@ Cull
* [Ruby](#ruby)
* [Papers](#papers)
###Cull
### Cull
http://www.irongeek.com/i.php?page=videos/derbycon4/t205-code-insecurity-or-code-in-security-mano-dash4rk-paul
http://en.cppreference.com/w/c
@ -38,7 +38,7 @@ http://en.cppreference.com/w/c
###<a name="general">General</a>
### <a name="general">General</a>
[Secure Coding Standards - Android](https://www.securecoding.cert.org/confluence/pages/viewpage.action?pageId=111509535)
@ -292,7 +292,7 @@ $err = $ErrorSource + " reports: " + $ErrorMessage
[Python For Beginners]()
* Welcome! Are you completely new to programming? If not then we presume you will be looking for information about why and how to get started with Python. Fortunately an experienced programmer in any programming language (whatever it may be) can pick up Python very quickly. It's also easy for beginners to use and learn, so jump in!
####Reference
#### Reference
@ -328,7 +328,7 @@ $err = $ErrorSource + " reports: " + $ErrorMessage
###Useful Libraries/programs
### Useful Libraries/programs
[Shellpaste](https://github.com/andrew-morris/shellpaste)
* Tiny snippet of code that pulls ASCII shellcode from pastebin and executes it. The purpose of this is to have a minimal amount of benign code so AV doesn't freak out, then it pulls down the evil stuff. People have been doing this kind of stuff for years so I take no credit for the concept. That being said, this code (or similar code) works surprisingly often during pentests when conventional malware fails.
@ -342,7 +342,7 @@ $err = $ErrorSource + " reports: " + $ErrorMessage
###<a name="papers">Papers</a>
### <a name="papers">Papers</a>
[Mov is turing complete](http://www.cl.cam.ac.uk/~sd601/papers/mov.pdf)


+ 1
- 1
Draft/Web & Browsers.md View File

@ -221,7 +221,7 @@ As seen on: https://www.owasp.org/index.php/Category:Attack
[Server Side Template Injection](http://blog.portswigger.net/2015/08/server-side-template-injection.html)
[Server-Side Template Injection: RCE for the modern webapp](https://portswigger.net/knowledgebase/papers/ServerSideTemplateInjection.pdf)


+ 14
- 0
Draft/Windows_Lateral_Movement.md View File

@ -0,0 +1,14 @@
Windows Lateral Movement
## Remote Desktop Protocol(RDP)
[RDP hijacking — how to hijack RDS and RemoteApp sessions transparently to move through an organisation](https://medium.com/@networksecurity/rdp-hijacking-how-to-hijack-rds-and-remoteapp-sessions-transparently-to-move-through-an-da2a1e73a5f6)

+ 373
- 0
Draft/Windows_Persistence.md View File

@ -0,0 +1,373 @@
Unfilled:
External Remote Services
Hypervisor
System Firmware
Valid Accounts
Web Shells
# Windows Persistence
## Accessibility Features
-------------------------------
* Replace the windows accessibilty applications with desired binary to be ran instead. Sticky-Keys backdoor.
* Debugger trick -
[Sticky Keys to the Kingdom](https://www.slideshare.net/DennisMaldonado5/sticky-keys-to-the-kingdom)
[Walk through of making such a backdoor by crowdstrike](https://www.crowdstrike.com/blog/crowdresponse-windows-sticky-keys/)
[Privilege Escalation via "Sticky" Keys](http://carnal0wnage.attackresearch.com/2012/04/privilege-escalation-via-sticky-keys.html)
## AppInit DLLs
-------------------------------
[Working with the AppInit_DLLs registry value](https://support.microsoft.com/en-us/help/197571/working-with-the-appinit-dlls-registry-value)
* (All the DLLs that are specified in this value are loaded by each Microsoft Windows-based application that is running in the current log on session.)
[LoadDLLViaAppInit - Didier Stevens](https://blog.didierstevens.com/2009/12/23/loaddllviaappinit/)
* Selectively Load DLLs with AppInit
[AppInit DLLs and Secure Boot](https://msdn.microsoft.com/en-us/library/dn280412)
## Application Shimming
-------------------------------
[Understanding Shims](https://technet.microsoft.com/en-us/library/dd837644(v=ws.10).aspx)
[Secrets of the Application Compatilibity Database (SDB) – Part 1](http://www.alex-ionescu.com/?p=39)
[Secrets of the Application Compatilibity Database (SDB) – Part 2](http://www.alex-ionescu.com/?p=40)
[Secrets of the Application Compatilibity Database (SDB) – Part 3](http://www.alex-ionescu.com/?p=41)
[Secrets of the Application Compatilibity Database (SDB) – Part 4](http://www.alex-ionescu.com/?p=43)
[Malicious Application Compatibility Shims](https://www.blackhat.com/docs/eu-15/materials/eu-15-Pierce-Defending-Against-Malicious-Application-Compatibility-Shims-wp.pdf)
[Post Exploitation Persistence With Application Shims (Intro)](http://blacksunhackers.club/2016/08/post-exploitation-persistence-with-application-shims-intro/)
[Windows 0wn3d By Default - Mark Baggett - Derbycon 2013](http://www.irongeek.com/i.php?page=videos/derbycon3/4206-windows-0wn3d-by-default-mark-baggett)
* Description: “In this talk we will discuss API Hooking, Process Execution Redirection, Hiding Registry keys and hiding directories on the hard drive. We must be talking about rootkits, right? Well yes, but not in the way you think. The Windows family of operating systems has all of these capabilities built right in! Using nothing but tools and techniques distributed and documented by Microsoft we can implement all of these rootkit functions. During this exciting talk I will present new attacks against Windows operating system that provide rootkit like functionality with built-in OS tools. In session, we’ll demonstrate how to leverage the Microsoft Application Compatibility Toolkit to help hide an attacker’s presence on your system. The Application Compatibility Toolkit allows you to create application shims that intercept and redirect calls from applications to the operating system. This native rootkit like capability is intended to make the Windows operating system compatible with very old or poorly written applications. Do DEP, ASLR, UAC, and Windows Resource Protection, File system ACLS and other modern OS security measures get it your way? No problem. Turn them off! Do you want to hide files and registry keys and from the user? The Application Compatibility toolkit allows you to create a virtual world for any application and hide resources from view. If someone inspects the registry with regedit they will see exactly what the attacker wants them to see and not what the OS sees when it launches programs. Did they patch your target so your exploit doesn’t work? Guess what, making applications backwards compatible is what this tool is intended to do. Make your favorite applications “old exploit compatible” insuring you can re-exploit the target with this awesome untapped resource. Everything you need to subvert windows applications is built right into the windows kernel. Come learn how to use the application compatibility toolkit to tap this great resource.”
## Authentication Package
-------------------------------
[Authentication Package - ATT&CK](https://attack.mitre.org/wiki/Technique/T1131)
* Adversaries can use the autostart mechanism provided by LSA Authentication Packages for persistence by placing a reference to a binary in the Windows Registry location HKLM\SYSTEM\CurrentControlSet\Control\Lsa\ with the key value of "Authentication Packages"=<target binary>. The binary will then be executed by the system when the authentication packages are loaded. (from https://attack.mitre.org/wiki/Technique/T1131#scite-b8a6357c4704477b91b769fd0bcd0fc8)
[Authentication Packages](https://msdn.microsoft.com/library/windows/desktop/aa374733.aspx)
* Authentication packages are contained in dynamic-link libraries. The Local Security Authority (LSA) loads authentication packages by using configuration information stored in the registry. Loaded at OS start.
## Bootkit
-------------------------------
[Bootkit - ATT&CK](https://attack.mitre.org/wiki/Technique/T1067)
* A bootkit is a malware variant that modifies the boot sectors of a hard drive, including the Master Boot Record (MBR) and Volume Boot Record (VBR).
* Not going to list much here. If you're doing this, you don't need this.
## Change Default File Association
-------------------------------
[Change Default File Association - ATT&CK](https://attack.mitre.org/wiki/Technique/T1042)
* When a file is opened, the default program used to open the file (also called the file association or handler) is checked. File association selections are stored in the Windows Registry and can be edited by users, administrators, or programs that have Registry access.
[Change which programs Windows 7 uses by default](https://support.microsoft.com/en-us/help/18539/windows-7-change-default-programs)
* Win 7,8,10: Open Control Panel > Control Panel Home > Default Programs > Set Associations
## Component Firmware
-------------------------------
[Component Firmware - ATT&CK](https://attack.mitre.org/wiki/Technique/T1109)
## Component Object Model Hijacking
-------------------------------
[Component Object Model Hijacking - ATT&CK](https://attack.mitre.org/wiki/Technique/T1122)
[The Component Object Model](https://msdn.microsoft.com/library/ms694363.aspx)
[COM Object hijacking: the discreet way of persistence](https://www.gdatasoftware.com/blog/2014/10/23941-com-object-hijacking-the-discreet-way-of-persistence)
## DLL Search Order Hijacking
-------------------------------
[DLL Search Order Hijacking - ATT&CK](https://attack.mitre.org/wiki/Technique/T1038)
[Dynamic-Link Library Search Order](https://msdn.microsoft.com/en-US/library/ms682586)
## External Remote Services
-------------------------------
[External Remote Services - ATT&CK](https://attack.mitre.org/wiki/Technique/T1133)
* VPN/RDP/Citrix Hijacking
## File System Permissions Weakness
-------------------------------
[File System Permissions Weakness - ATT&CK](https://attack.mitre.org/wiki/Technique/T1044)
* Processes may automatically execute specific binaries as part of their functionality or to perform other actions. If the permissions on the file system directory containing a target binary, or permissions on the binary itself, are improperly set, then the target binary may be overwritten with another binary using user-level permissions and executed by the original process. If the original process and thread are running under a higher permissions level, then the replaced binary will also execute under higher-level permissions, which could include SYSTEM.
[Executable installers are vulnerable^WEVIL (case 7): 7z*.exe allows remote code execution with escalation of privilege](http://seclists.org/fulldisclosure/2015/Dec/34)
## Hidden Files and Directories
-------------------------------
[Hidden Files and Directories - ATT&CK](https://attack.mitre.org/wiki/Technique/T1158)
* Users can mark specific files as hidden by using the attrib.exe binary. Simply do attrib +h filename to mark a file or folder as hidden. Similarly, the “+s” marks a file as a system file and the “+r” flag marks the file as read only. Like most windows binaries, the attrib.exe binary provides the ability to apply these changes recursively “/S”.
[ What is a Hidden File? ](https://www.lifewire.com/what-is-a-hidden-file-2625898)
## Hypervisor
-------------------------------
[Hypervisor - ATT&CK](https://attack.mitre.org/wiki/Technique/T1062)
[An Introduction to Hardware-Assisted Virtual Machine (HVM) - pdf](http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.90.8832&rep=rep1&type=pdf)
## Local Port Monitor
-------------------------------
[Local Port Monitor - ATT&CK](https://attack.mitre.org/wiki/Technique/T1013)
* A port monitor can be set through the AddMonitor API call to set a DLL to be loaded at startup. This DLL can be located in C:\Windows\System32 and will be loaded by the print spooler service, spoolsv.exe, on boot. Alternatively, an arbitrary DLL can be loaded if permissions allow writing a fully-qualified pathname for that DLL to HKLM\SYSTEM\CurrentControlSet\Control\Print\Monitors. The spoolsv.exe process also runs under SYSTEM level permissions.
[AddMonitor function](https://msdn.microsoft.com/en-us/library/dd183341)
## Logon Scripts
-------------------------------
[Logon Scripts - ATT&CK](https://attack.mitre.org/wiki/Technique/T1037)
* Windows allows logon scripts to be run whenever a specific user or group of users log into a system.
[Introduction Logon Scripts - With VBScript](http://www.computerperformance.co.uk/Logon/logon_scripts.htm)
[Login Scripts - Creating and Using Login Scripts](http://loginscripts.com/)
## modify Existing Service
-------------------------------
[Modify Existing Service - ATT&CK](https://attack.mitre.org/wiki/Technique/T1031)
* Windows service configuration information, including the file path to the service's executable, is stored in the Registry. Service configurations can be modified using utilities such as sc.exe and Reg. Adversaries can modify an existing service to persist malware on a system by using system utilities or by using custom tools to interact with the Windows API. Use of existing services is a type of Masquerading that may make detection analysis more challenging. Modifying existing services may interrupt their functionality or may enable services that are disabled or otherwise not commonly used.
[Install a Persistant Backdoor in Windows Using Netcat ](https://null-byte.wonderhowto.com/how-to/install-persistant-backdoor-windows-using-netcat-0162348/)
## Netsh Helper DLL
-------------------------------
[Netsh Helper DLL - ATT&CK](https://attack.mitre.org/wiki/Technique/T1128)
* Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system. It contains functionality to add helper DLLs for extending functionality of the utility. The paths to registered netsh.exe helper DLLs are entered into the Windows Registry at HKLM\SOFTWARE\Microsoft\Netsh. Adversaries can use netsh.exe with helper DLLs to proxy execution of arbitrary code in a persistent manner when netsh.exe is executed automatically with another Persistence technique or if other persistent software is present on the system that executes netsh.exe as part of its normal functionality. Examples include some VPN software that invoke netsh.exe.
[Using Netsh](https://technet.microsoft.com/library/bb490939.aspx)
[Netshell - Matthew Demaske](https://htmlpreview.github.io/?https://github.com/MatthewDemaske/blogbackup/blob/master/netshell.html)
## New Service
-------------------------------
[New Service - ATT&CK](https://attack.mitre.org/wiki/Technique/T1050)
* When operating systems boot up, they can start programs or applications called services that perform background system functions. A service's configuration information, including the file path to the service's executable, is stored in the Windows Registry. Adversaries may install a new service that can be configured to execute at startup by using utilities to interact with services or by directly modifying the Registry. The service name may be disguised by using a name from a related operating system or benign software with Masquerading. Services may be created with administrator privileges but are executed under SYSTEM privileges, so an adversary may also use a service to escalate privileges from administrator to SYSTEM. Adversaries may also directly start services through Service Execution.
[Services](https://technet.microsoft.com/en-us/library/cc772408.aspx)
## Office Application Startup
-------------------------------
[Office Application Startup - ATT&CK](https://attack.mitre.org/wiki/Technique/T1137)
* Microsoft Office is a fairly common application suite on Windows-based operating systems within an enterprise network. There are multiple mechanisms that can be used with Office for persistence when an Office-based application is started.
[Change the Normal template (Normal.dotm)](https://support.office.com/en-us/article/Change-the-Normal-template-Normal-dotm-06de294b-d216-47f6-ab77-ccb5166f98ea?ui=en-US&rs=en-US&ad=US)
* The Normal.dotm template opens whenever you start Microsoft Word, and it includes default styles and customizations that determine the basic look of a document.
[Getting Started with VBA in Office](https://msdn.microsoft.com/en-us/vba/office-shared-vba/articles/getting-started-with-vba-in-office)
[Maintaining Access with Normal.dotm - enigma0x3](https://enigma0x3.net/2014/01/23/maintaining-access-with-normal-dotm/comment-page-1/)
[Beyond good ol’ Run key, Part 62 - Hexacorn](http://www.hexacorn.com/blog/2017/04/19/beyond-good-ol-run-key-part-62/)
* Takeaway: Dropping any macro sheet inside the XLSTART folder and opening it from there will not show the macro warning
[Add or remove add-ins](https://support.office.com/en-us/article/Add-or-remove-add-ins-0af570c4-5cf3-4fa9-9b88-403625a0b460?ui=en-US&rs=en-US&ad=US)
* Add-ins provide optional commands and features for Microsoft Excel. By default, add-ins are not immediately available in Excel, so you must first install and (in some cases) activate these add-ins so that you can use them.
## Path Interception
-------------------------------
[Path Interception - ATT&CK](https://attack.mitre.org/wiki/Technique/T1034)
* Path interception occurs when an executable is placed in a specific path so that it is executed by an application instead of the intended target.
* There are multiple distinct weaknesses or misconfigurations that adversaries may take advantage of when performing path interception: unquoted paths, path environment variable misconfigurations, and search order hijacking. The first vulnerability deals with full program paths, while the second and third occur when program paths are not specified. These techniques can be used for persistence if executables are called on a regular basis, as well as privilege escalation if intercepted executables are started by a higher privileged process.
#### Unqouted Paths
* Service paths (stored in Windows Registry keys)2 and shortcut paths are vulnerable to path interception if the path has one or more spaces and is not surrounded by quotation marks (e.g., C:\unsafe path with space\program.exe vs. "C:\safe path with space\program.exe"). An adversary can place an executable in a higher level directory of the path, and Windows will resolve that executable instead of the intended executable. For example, if the path in a shortcut is C:\program files\myapp.exe, an adversary may create a program at C:\program.exe that will be run instead of the intended program.
[CurrentControlSet\Services Subkey Entries](https://support.microsoft.com/en-us/help/103000/currentcontrolset-services-subkey-entries)
* This article contains registry entries for the CurrentControlSet\Services subkeys. There are no subgroups.
[Unquoted Service Paths - commonexploits](https://www.commonexploits.com/unquoted-service-paths/)
[PrivEsc: Unquoted Service Path - gracefulsecurity](https://www.gracefulsecurity.com/privesc-unquoted-service-path/)
[Practical Guide to exploiting the unquoted service path vulnerability in Windows - TrustFoundry](https://trustfoundry.net/practical-guide-to-exploiting-the-unquoted-service-path-vulnerability-in-windows/)
[Help eliminate unquoted path vulnerabilities](https://isc.sans.edu/diary/Help+eliminate+unquoted+path+vulnerabilities/14464)
#### PATH Environment Variable Misconfiguration
* The PATH environment variable contains a list of directories. Certain methods of executing a program (namely using cmd.exe or the command-line) rely solely on the PATH environment variable to determine the locations that are searched for a program when the path for the program is not given. If any directories are listed in the PATH environment variable before the Windows directory, %SystemRoot%\system32 (e.g., C:\Windows\system32), a program may be placed in the preceding directory that is named the same as a Windows program (such as cmd, PowerShell, or Python), which will be executed when that command is executed from a script or command-line.
* For example, if C:\example path precedes C:\Windows\system32 is in the PATH environment variable, a program that is named net.exe and placed in C:\example path will be called instead of the Windows system "net" when "net" is executed from the command-line.
[The $env:PATH Less Traveled: Subverting Trust with 3rd-Party Applications - obscuresec](http://obscuresecurity.blogspot.com/2014/02/the-envpath-less-traveled-subverting.html)
#### Search Order Hijacking
Search order hijacking occurs when an adversary abuses the order in which Windows searches for programs that are not given a path. The search order differs depending on the method that is used to execute the program. However, it is common for Windows to search in the directory of the initiating program before searching through the Windows system directory. An adversary who finds a program vulnerable to search order hijacking (i.e., a program that does not specify the path to an executable) may take advantage of this vulnerability by creating a program named after the improperly specified program and placing it within the initiating program's directory.
* For example, "example.exe" runs "cmd.exe" with the command-line argument net user. An adversary may place a program called "net.exe" within the same directory as example.exe, "net.exe" will be run instead of the Windows system utility net. In addition, if an adversary places a program called "net.com" in the same directory as "net.exe", then cmd.exe /C net user will execute "net.com" instead of "net.exe" due to the order of executable extensions defined under PATHEXT.
[WinExec function](https://msdn.microsoft.com/en-us/library/ms687393)
[Launching Apps from NT cmd shell](https://technet.microsoft.com/en-us/library/cc723564.aspx#XSLTsection127121120120)
[CreateProcess function](https://msdn.microsoft.com/en-us/library/ms682425)
[Environment Property](https://msdn.microsoft.com/en-us/library/fd7hxfdd.aspx)
## Redundant Access
-------------------------------
* Don't just use one backdoor. Use multiple avenues of exfil. Plan ahead and exepct observation/discovery. Prepare backup solutions ready to go in case SHTF.
## Registry Run Key/ Start Folder
-------------------------------
[Registry Run Keys / Start Folder - ATT&CK](https://attack.mitre.org/wiki/Technique/T1060)
* Adding an entry to the "run keys" in the Registry or startup folder will cause the program referenced to be executed when a user logs in. The program will be executed under the context of the user and will have the account's associated permissions level.
[Run and RunOnce Registry Keys - MSDN](https://msdn.microsoft.com/en-us/library/windows/desktop/aa376977(v=vs.85).aspx)
* Run and RunOnce registry keys cause programs to run each time that a user logs on.
[Beyond good ol’ Run key – All parts](http://www.hexacorn.com/blog/2017/01/28/beyond-good-ol-run-key-all-parts/)
* Here are the links to all the ‘Beyond good ol’ Run key’ posts so far.
## Scheduled Tasks
-------------------------------
[Scheduled Tasks - ATT&CK](https://attack.mitre.org/wiki/Technique/T1053)
* Utilities such as at and schtasks, along with the Windows Task Scheduler, can be used to schedule programs or scripts to be executed at a date and time. The account used to create the task must be in the Administrators group on the local system. A task can also be scheduled on a remote system, provided the proper authentication is met to use RPC and file and printer sharing is turned on.
[Schedule a Task - MSDN](https://technet.microsoft.com/en-us/library/cc748993(v=ws.11).aspx)
[Schtasks.exe - MSDN](https://msdn.microsoft.com/en-us/library/windows/desktop/bb736357(v=vs.85).aspx)
* Enables an administrator to create, delete, query, change, run, and end scheduled tasks on a local or remote computer. Running Schtasks.exe without arguments displays the status and next run time for each registered task.
[At - MSDN](https://technet.microsoft.com/en-us/library/bb490866.aspx)
* Schedules commands and programs to run on a computer at a specified time and date. You can use at only when the Schedule service is running. Used without parameters, at lists scheduled commands.
[How To Use the AT Command to Schedule Tasks - MS](https://support.microsoft.com/en-us/help/313565/how-to-use-the-at-command-to-schedule-tasks)
## Security Support Provider
-------------------------------
[Security Support Provider - ATT&CK](https://attack.mitre.org/wiki/Technique/T1101)
* Windows Security Support Provider (SSP) DLLs are loaded into the Local Security Authority (LSA) process at system start. Once loaded into the LSA, SSP DLLs have access to encrypted and plaintext passwords that are stored in Windows, such as any logged-on user's Domain password or smart card PINs. The SSP configuration is stored in two Registry keys: HKLM\SYSTEM\CurrentControlSet\Control\Lsa\Security Packages and HKLM\SYSTEM\CurrentControlSet\Control\Lsa\OSConfig\Security Packages. An adversary may modify these Registry keys to add new SSPs, which will be loaded the next time the system boots, or when the AddSecurityPackage Windows API function is called.
[Analysis of Malicious Security Support Provider DLLs](http://docplayer.net/20839173-Analysis-of-malicious-security-support-provider-dlls.html)
[Security Support Provider Interface - Wikipedia](https://en.wikipedia.org/wiki/Security_Support_Provider_Interface)
[The Security Support Provider Interface - MSDN](https://msdn.microsoft.com/en-us/library/bb742535.aspx)
## Service Registry Permissions Weakness
-------------------------------
[Service Registry Permissions Weakness - ATT&CK](https://attack.mitre.org/wiki/Technique/T1058)
* Windows stores local service configuration information in the Registry under HKLM\SYSTEM\CurrentControlSet\Services. The information stored under a service's Registry keys can be manipulated to modify a service's execution parameters through tools such as the service controller, sc.exe, PowerShell, or Reg. Access to Registry keys is controlled through Access Control Lists and permissions.
* If the permissions for users and groups are not properly set and allow access to the Registry keys for a service, then adversaries can change the service binPath/ImagePath to point to a different executable under their control. When the service starts or is restarted, then the adversary-controlled program will execute, allowing the adversary to gain persistence and/or privilege escalation to the account context the service is set to execute under (local/domain account, SYSTEM, LocalService, or NetworkService).
[Registry Key Security and Access Rights - MSDN](https://msdn.microsoft.com/library/windows/desktop/ms724878.aspx)
## Shortcut Modification
-------------------------------
[Shortcut Modification - ATT&CK](https://attack.mitre.org/wiki/Technique/T1023)
* Shortcuts or symbolic links are ways of referencing other files or programs that will be opened or executed when the shortcut is clicked or executed by a system startup process. Adversaries could use shortcuts to execute their tools for persistence. They may create a new shortcut as a means of indirection that may use Masquerading to look like a legitimate program. Adversaries could also edit the target path or entirely replace an existing shortcut so their tools will be executed instead of the intended legitimate program.
[How to create shortcuts for apps, files, folders and web pages in Windows](http://www.digitalcitizen.life/how-create-shortcuts)
## System Firmware
-------------------------------
[System Firmware - ATT&CK](https://attack.mitre.org/wiki/Technique/T1019)
* The BIOS (Basic Input/Output System) and The Unified Extensible Firmware Interface (UEFI) or Extensible Firmware Interface (EFI) are examples of system firmware that operate as the software interface between the operating system and hardware of a computer.
* System firmware like BIOS and (U)EFI underly the functionality of a computer and may be modified by an adversary to perform or assist in malicious activity. Capabilities exist to overwrite the system firmware, which may give sophisticated adversaries a means to install malicious firmware updates as a means of persistence on a system that may be difficult to detect.
## Valid Accounts
-------------------------------
[Valid Accounts - ATT&CK](https://attack.mitre.org/wiki/Technique/T1078)
## Web Shell
-------------------------------
[Web Shell - ATT&CK](https://attack.mitre.org/wiki/Technique/T1100)
* A Web shell is a Web script that is placed on an openly accessible Web server to allow an adversary to use the Web server as a gateway into a network. A Web shell may provide a set of functions to execute or a command-line interface on the system that hosts the Web server.
## Windows Management Instrumentation(WMI) Event Subscription
-------------------------------
[Windows Management Instrumentation Event Subscription - ATT&CK](https://attack.mitre.org/wiki/Technique/T1084)
* Windows Management Instrumentation (WMI) can be used to install event filters, providers, consumers, and bindings that execute code when a defined event occurs. Adversaries may use the capabilities of WMI to subscribe to an event and execute arbitrary code when that event occurs, providing persistence on a system. Adversaries may attempt to evade detection of this technique by compiling WMI scripts. Examples of events that may be subscribed to are the wall clock time or the computer's uptime.
[Windows Management Instrumentation (WMI) Offense, Defense, and Forensics](https://www.fireeye.com/content/dam/fireeye-www/global/en/current-threats/pdfs/wp-windows-management-instrumentation.pdf)
[A Novel WMI Persistence Implementation - SecureWorks](https://www.secureworks.com/blog/wmi-persistence)
[PowerShell and Events: Permanent WMI Event Subscriptions](https://learn-powershell.net/2013/08/14/powershell-and-events-permanent-wmi-event-subscriptions/)
[Receiving a WMI Event](https://msdn.microsoft.com/en-us/library/aa393013(v=vs.85).aspx)
[Example_WMI_Detection_EventLogAlert.ps1](https://gist.github.com/mattifestation/aff0cb8bf66c7f6ef44a)
* An example of how to use permanent WMI event subscriptions to log a malicious action to the event log
[Yeabests.cc: A fileless infection using WMI to hijack your Browser](https://www.bleepingcomputer.com/news/security/yeabests-cc-a-fileless-infection-using-wmi-to-hijack-your-browser/)
[Creeping on Users with WMI Events: Introducing PowerLurk](https://pentestarmoury.com/2016/07/13/151/)
[List all WMI Permanent Event Subscriptions](https://gallery.technet.microsoft.com/scriptcenter/List-all-WMI-Permanent-73e04ab4)
[Use PowerShell to Create a Permanent WMI Event to Launch a VBScript](https://gallery.technet.microsoft.com/scriptcenter/List-all-WMI-Permanent-73e04ab4)
## Winlogon Helper DLL
-------------------------------
[Winlogon Helper DLL - ATT&CK](https://attack.mitre.org/wiki/Technique/T1004)
* Winlogon is a part of some Windows versions that performs actions at logon. In Windows systems prior to Windows Vista, a Registry key can be modified that causes Winlogon to load a DLL on startup. Adversaries may take advantage of this feature to load adversarial code at startup for persistence.
* Winlogon is a part of Windows that performs logon actions. In Windows systems prior to Windows Vista, a registry key can be modified that causes Winlogon to load a DLL on startup. Adversaries may take advantage of this feature to load adversarial code at startup.

+ 5
- 0
Draft/index.md View File

@ -0,0 +1,5 @@
{
"title": "InfoSec Reference",
"tagline": "An Infosec reference that doesn't suck.",
"image": "mspaint.png"
}

+ 2
- 0
Draft/readme.md View File

@ -0,0 +1,2 @@
# Readme

+ 77
- 339
Draft/things-added.md View File

@ -1,103 +1,88 @@
https://github.com/onethawt/reverseengineering-reading-list
### Things added since last update:
https://github.com/caesar0301/awesome-pcaptools
https://www.nist.gov/itl/applied-cybersecurity/nice/about
https://github.com/paralax/awesome-honeypots
https://github.com/isislab/Project-Ideas/wiki
https://github.com/meirwah/awesome-incident-response#log-analysis-tools
https://github.com/enddo/awesome-windows-exploitation/blob/master/README.md
https://github.com/nebgnahz/awesome-iot-hacks
https://www.toshellandback.com/
https://github.com/shieldfy/API-Security-Checklist/blob/master/README.md
https://www.class-central.com/
https://www.redcanary.com/threat-hunting/
https://www.youtube.com/watch?v=raBMFqZRB0s&t=&feature=youtu.be&app=desktop
###### Some phrack articles?
* [cryptexec: Next-generation runtime binary encryption using on-demand function extraction](http://phrack.org/issues/63/13.html)
* [Defeating Sniffers and Intrusion Detection Systems](http://phrack.org/issues/54/10.html)
* Armouring the ELF: Binary Encryption on the UNIX Platform - grugq, scut, 12/28/2001
* Runtime Process Infection - anonymous, 07/28/2002
* Polymorphic Shellcode Engine Using Spectrum Analysis - theo detristan et al, 08/13/2003
* Stealth Hooking: Another Way to Subvert the Windows Kernel - mxatone, ivanlef0u, 04/11/2008
* Mystifying the Debugger for Ultimate Stealthness - halfdead, 04/11/2008
* Binary Mangling with Radare - pancake, 06/11/2009
[What Happens Next Will Amaze You](http://idlewords.com/talks/what_happens_next_will_amaze_you.htm#six_fixes)
[Advice for writing a Bootloader? - reddit](https://www.reddit.com/r/lowlevel/comments/30toah/advices_for_a_bootloader/)
[PENQUIN’S MOONLIT MAZE](https://ridt.co/d/jags-moore-raiu-rid.pdf)
[dc25-votingvillage-report](https://github.com/josephlhall/dc25-votingvillage-report)
* A report to synthesize findings from the Defcon 25 Voting Machine Hacking Village
## Android
?## politics
## Anonymity/OPSEC
[Guccifer 2.0: Game Over - Six Months In](http://g-2.space/sixmonths/)
[PISSED: Privacy In a Surveillance State Evading Detection - Joe Cicero - CYPHERCON11 ](https://www.youtube.com/watch?v=keA3WcKwZwA)
[The Paranoid's Bible: An anti-dox effort.](https://paranoidsbible.tumblr.com/)
[Flipping Bits and Opening Doors: Reverse Engineering the Linear Wireless Security DX Protocol](https://duo.com/blog/flipping-bits-and-opening-doors-reverse-engineering-the-linear-wireless-security-dx-protocol)
## Attacking Android
## Anonymity
[Hacking Android phone. How deep the rabbit hole goes.](https://hackernoon.com/hacking-android-phone-how-deep-the-rabbit-hole-goes-18b62ad65727)
[Decentraleyes](https://addons.mozilla.org/en-US/firefox/addon/decentraleyes/)
* Protects you against tracking through "free", centralized, content delivery. It prevents a lot of requests from reaching networks like Google Hosted Libraries, and serves local files to keep sites from breaking. Complements regular content blockers.
[Mobile Application Penetration Testing Cheat Sheet](https://github.com/tanprathan/MobileApp-Pentest-Cheatsheet)
[Destroy-Windows-10-Spying](https://github.com/Nummer/Destroy-Windows-10-Spying)
* Destroy Windows Spying tool
## Attacking iOS
[What Happens Next Will Amaze You](http://idlewords.com/talks/what_happens_next_will_amaze_you.htm#six_fixes)
[Mobile Application Penetration Testing Cheat Sheet](https://github.com/tanprathan/MobileApp-Pentest-Cheatsheet)
## Basic Security
## Attacking/Defending Android
## BIOS/UEFI
[DonkeyGuard](https://github.com/CollegeDev/DonkeyGuard/)
* DonkeyGuard allows you a fine-grained tuning of access to your private data. It currently supports 41 restrictions which can be applied for every application. Specifically, it is a Privacy service provider which implements a set of modifications to the Android Framework to allow you to interact with applications which are trying to access your private data.
[Advice for writing a Bootloader? - reddit](https://www.reddit.com/r/lowlevel/comments/30toah/advices_for_a_bootloader/)
## Building a Lab
## Basic Security Info
[Mitigate threats by using Windows 10 security features](https://docs.microsoft.com/en-us/windows/threat-protection/overview-of-threat-mitigations-in-windows-10)
## Car Hacking
[Broadcasting your attack: Security testing DAB radio in cars - Andy Davis](http://2015.ruxcon.org.au/assets/2015/slides/Broadcasting-your-attack-Security-testing-DAB-radio-in-cars.pdf)
## Building a Lab
## Car Hacking
[Broadcasting your attack: Security testing DAB radio in cars - Andy Davis](http://2015.ruxcon.org.au/assets/2015/slides/Broadcasting-your-attack-Security-testing-DAB-radio-in-cars.pdf)
## Courses
## CTF
[AppJailLauncher](https://github.com/trailofbits/AppJailLauncher))
* [Sample](https://github.com/trailofbits/ctf-challenges/tree/master/csaw-2014/greenhornd)
## Crypto
[Top 10 Developer Crypto Mistakes](https://littlemaninmyhead.wordpress.com/2017/04/22/top-10-developer-crypto-mistakes/amp/)
[OMEMO Multi-End Message and Object Encryption](https://conversations.im/omemo/)
* OMEMO is an XMPP Extension Protocol (XEP) for secure multi-client end-to-end encryption. It is an open standard based on a Double Ratchet and PEP which can be freely used and implemented by anyone. The protocol has been audited by a third party.
## Crypto Currencies
[cryptocurrency](https://github.com/kilimchoi/cryptocurrency)
* Overview of top cryptocurrencies
@ -118,87 +103,40 @@ https://www.class-central.com/
## Embedded Devices/Hardware
[Multiple Vulnerabilities in BHU WiFi “uRouter”](http://blog.ioactive.com/2016/08/multiple-vulnerabilities-in-bhu-wifi.html)
[SPI](https://trmm.net/SPI_flash)
[Jackson Thuraisamy & Jason Tran - Hacking POS PoS Systems](https://www.youtube.com/watch?v=-n7oJqmTUCo)
[Introduction to Glitch Attacks](https://wiki.newae.com/Tutorial_A2_Introduction_to_Glitch_Attacks_(including_Glitch_Explorer))
* This advanced tutorial will demonstrate clock glitch attacks using the ChipWhisperer system. This will introduce you to many required features of the ChipWhisperer system when it comes to glitching. This will be built on in later tutorials to generate voltage glitching attacks, or when you wish to attack other targets.
## Exploit Dev
* Add use-after-free section
[Bypass Control Flow Guard Comprehensively](https://www.blackhat.com/docs/us-15/materials/us-15-Zhang-Bypass-Control-Flow-Guard-Comprehensively-wp.pdf)
[A brief history of Exploitation - Devin Cook](http://www.irongeek.com/i.php?page=videos/derbycon4/t514-a-brief-history-of-exploitation-devin-cook)
[ Shellcode Time: Come on Grab Your Friends](http://www.irongeek.com/i.php?page=videos/derbycon4/t116-shellcode-time-come-on-grab-your-friends-wartortell)
* Packed shellcode is a common deterrent against reverse engineering. Mainstream software will use it in order to protect intellectual property or prevent software cracking. Malicious binaries and Capture the Flag (CTF) challenges employ packed shellcode to hide their intended functionality. However, creating these binaries is an involved process requiring significant experience with machine language. Due to the complexity of creating packed shellcode, the majority of samples are painstakingly custom-created or encoded with very simple mechanisms, such as a single byte XOR. In order to aid in the creation of packed shellcode and better understand how to reverse engineer it, I created a tool to generate samples of modular packed shellcode. During this talk, I will demonstrate the use of the shellcode creation tool and how to reverse engineer the binaries it creates. I will also demonstrate an automated process for unpacking the binaries that are created.
[Writing my first shellcode - iptables -P INPUT ACCEPT](https://0day.work/writing-my-first-shellcode-iptables-p-input-accept/)
[Blind Return Oriented Programming](http://www.scs.stanford.edu/brop/)
[Blind Return Oriented Programming (BROP) Attack (1)](http://ytliu.info/blog/2014/05/31/blind-return-oriented-programming-brop-attack-yi/)
[Blind Return Oriented Programming (BROP) Attack (2)](http://ytliu.info/blog/2014/06/01/blind-return-oriented-programming-brop-attack-er/)
[English Shellcode](http://web.cs.jhu.edu/~sam/ccs243-mason.pdf)
* History indicates that the security community commonly takes a divide-and-conquer approach to battling malware threats: identify the essential and inalienable components of an attack, then develop detection and prevention techniques that directly target one or more of the essential components. This abstraction is evident in much of the literature for buffer overflow attacks including, for instance, stack protection and NOP sled detection. It comes as no surprise then that we approach shellcode detection and prevention in a similar fashion. However, the common belief that components of polymorphic shellcode (e.g., the decoder) cannot reliably be hidden suggests a more implicit and broader assumption that continues to drive contemporary research: namely, that valid and complete representations of shellcode are fundamentally different in structure than benign payloads. While the first tenet of this assumption is philosoph- ically undeniable (i.e., a string of bytes is either shellcode or it is not), truth of the latter claim is less obvious if there exist encoding techniques capable of producing shellcode with features nearly indistinguishable from non-executable content. In this paper, we challenge the assumption that shellcode must conform to superficial and discernible representations. Specifically, we demonstrate a technique for automatically producing English Shellcode, transforming arbitrary shellcode into a representation that is superficially similar to English prose. The shellcode is completely self-contained - i.e., it does not require an external loader and executes as valid IA32 code)—and can typically be generated in under an hour on commodity hardware. Our primary objective in this paper is to promote discussion and stimulate new ideas for thinking ahead about preventive measures for tackling evolutions in code-injection attacks
[Breaking the links: Exploiting the linker](https://www.nth-dimension.org.uk/pub/BTL.pdf)
[QuickZip Stack BOF 0day: a box of chocolates](https://www.corelan.be/index.php/2010/03/27/quickzip-stack-bof-0day-a-box-of-chocolates/)
[Exploit writing tutorial part 10 : Chaining DEP with ROP – the Rubik’s[TM] Cube](https://www.corelan.be/index.php/2010/06/16/exploit-writing-tutorial-part-10-chaining-dep-with-rop-the-rubikstm-cube/)
[Exploit writing tutorial part 11 : Heap Spraying Demystified](https://www.corelan.be/index.php/2011/12/31/exploit-writing-tutorial-part-11-heap-spraying-demystified/)
[Part 9: Spraying the Heap [Chapter 2: Use-After-Free] – Finding a needle in a Haystack](https://www.fuzzysecurity.com/tutorials/expDev/11.html)
[An Introduction to Use After Free Vulnerabilities](https://www.purehacking.com/blog/lloyd-simon/an-introduction-to-use-after-free-vulnerabilities)
* [Windows Kernel Shellcode on Windows 10 – Part 1](https://improsec.com/blog//windows-kernel-shellcode-on-windows-10-part-1)
* [Windows Kernel Shellcode on Windows 10 – Part 2](https://improsec.com/blog//windows-kernel-shellcode-on-windows-10-part-2)
* [Windows Kernel Shellcode on Windows 10 – Part 3](https://improsec.com/blog//windows-kernel-shellcode-on-windows-10-part-3)
* [Windows Kernel Shellcode on Windows 10 – Part 4 - There is No Code](https://improsec.com/blog//windows-kernel-shellcode-on-windows-10-part-4-there-is-no-code)
[sRDI](https://github.com/monoxgas/sRDI)
* Shellcode implementation of Reflective DLL Injection. Convert DLLs to position independent shellcode
[WinREPL](https://github.com/zerosum0x0/WinREPL)
* x86 and x64 assembly "read-eval-print loop" shell for Windows
[rappel](https://github.com/yrp604/rappel/)
* Rappel is a pretty janky assembly REPL. It works by creating a shell ELF, starting it under ptrace, then continiously rewriting/running the .text section, while showing the register states. It's maybe half done right now, and supports Linux x86, amd64, armv7 (no thumb), and armv8 at the moment.(As of Aug 2017)
[Modern Windows Exploit Development](http://expdev-kiuhnm.rhcloud.com/download-the-book/)
## Forensics
* Roll anti into this.
[An Anti-Forensics Primer - Jason Andress](http://www.irongeek.com/i.php?page=videos/derbycon3/s216-an-anti-forensics-primer-jason-andress)
* This talk will cover the basics of anti-forensics, the tools and techniques that can be used to make life harder for computer forensic examiners. We will cover some of the basic methods that are used (disk wiping, time stomping, encryption, etc…) and talk about which of these methods might actually work and which are easily surmounted with common forensic tools.
[OpenPuff Steganography](http://embeddedsw.net/OpenPuff_Steganography_Home.html)
[Forensics Impossible: Self-Destructing Thumb Drives - Brandon Wilson](https://www.youtube.com/watch?v=NRMqwc5YEu4)
## Fuzzing
[Practical File Format Fuzzing](http://www.irongeek.com/i.php?page=videos/derbycon3/3301-practical-file-format-fuzzing-jared-allar)
* File format fuzzing has been very fruitful at discovering exploitable vulnerabilities. Adversaries take advantage of these vulnerabilities to conduct spear-phishing attacks. This talk will cover the basics of file format fuzzing and show you how to use CERT’s fuzzing frameworks to discovery vulnerabilities in file parsers.
## Game Hacking
[Improving security with Fuzzing and Sanitizers](https://media.ccc.de/v/SHA2017-148-improving_security_with_fuzzing_and_sanitizers)
* A bug in Gstreamer could be used to own a Linux Desktop system. TCPDump released a security update fixing 42 CVEs. We have far too many security critical bugs in the free and open source software stack. But we have powerful tools to find them - we just have to use them.
[Gotta catch-em-all worldwide - Pokemon GO GPS spoofing](https://insinuator.net/2016/07/gotta-catch-em-all-worldwide-or-how-to-spoof-gps-to-cheat-at-pokemon-go/)
[The Multibillion dollar industry that's ignored](http://www.irongeek.com/i.php?page=videos/derbycon4/_t204-the-multibillion-dollar-industry-thats-ignored-jason-montgomery-and-ryan-sevey)
[ The Multibillion Dollar Industry That's Ignored - Jason Montgomery and Ryan Sevey](http://www.irongeek.com/i.php?page=videos/derbycon4/t204-the-multibillion-dollar-industry-thats-ignored-jason-montgomery-and-ryan-sevey)
* Video games are something that a lot of us enjoy playing to escape the realities of the world- and to just relax and have fun. What’s unknown to many gamers who work hard to up their skills- they often are losing to cheaters who can dominate them with low skills by subscribing to a ~$10 a month cheat service (which often requires disabling UAC, DEP, and AV).This talk will examine some of the security issues facing the gaming industry and the cheating marketplace, and will include a deep dive into how game “hacks” such as aimbots and extrasensory perception (ESP) work in current gaming engines. We’ll explore current anti-cheat technologies and techniques attackers use to easily bypass them, as well as how the cheats themselves are protected from being discovered. Finally we conclude with proposing new anti-cheat techniques including Machine Learning/Artificial Intelligence giving the legit gamers an enjoyable experience again.
## Game Hacking
@ -208,52 +146,26 @@ https://www.class-central.com/
## Honeypots
## ICS/SCADA
# iOS- ANYCON 2017
## ICS/SCADA
## Interesting Things
[Hacks, Lies, & Nation States - Mario DiNatale - ANYCON 2017](http://www.irongeek.com/i.php?page=videos/anycon2017/303-hacks-lies-nation-states-mario-dinatale)
* A hilarious and non-technical skewering of the current state of Cybersecurity, the Cybersecurity
[CyberChef - GCHQ](https://github.com/gchq/CyberChef)
* CyberChef is a simple, intuitive web app for carrying out all manner of "cyber" operations within a web browser. These operations include simple encoding like XOR or Base64, more complex encryption like AES, DES and Blowfish, creating binary and hexdumps, compression and decompression of data, calculating hashes and checksums, IPv6 and X.509 parsing, changing character encodings, and much more.
[Your Project from Idea to Reality](http://www.slideshare.net/maltman23/your-project-from-idea-to-reality)
[Beyond Information Warfare: You aint seen nothing yet - Winn Scwartau](http://www.irongeek.com/i.php?page=videos/derbycon3/2206-beyond-information-warfare-you-ain-t-seen-nothing-yet-winn-schwartau)
[Bootstrapping A Security Research Project Andrew Hay](https://www.youtube.com/watch?v=gNU2J-IcK4E)
* It has become increasingly common to see a headline in the mainstream media talking about the latest car, television, or other IoT device being hacked (hopefully by a researcher). In each report, blog, or presentation, we learn about the alarming lack of security and privacy associated with the device's hardware, communications mechanisms, software/app, and hosting infrastructure in addition to how easy it might be for an attacker to take advantage of one, or multiple, threat vectors. The truth is, anyone can perform this kind of research if given the right guidance. To many security professionals, however, the act of researching something isn,t the problem...it's what to research, how to start, and when to stop. Academics think nothing of researching something until they feel it's "done" (or their funding/tenure runs out). Security professionals, however, often do not have that luxury. This session will discuss how to research, well, ANYTHING. Proven methods for starting, continuing, ending, leading, and collaborating on reproducible research will be discussed - taking into account real-world constraints such as time, money, and a personal life. We will also discuss how to generate data, design your experiments, analyze your results, and present (and in some cases defend) your research to the public.
[Killing you softly Josh Bressers](http://www.irongeek.com/i.php?page=videos/circlecitycon2016/302-killing-you-softly-josh-bressers)
* The entire security industry has a serious skill problem. We,re technically able, but we have no soft skills. We can,t talk to normal people at all. We can barely even talk to each other, and it's killing our industry. Every successful industry relies on the transfer of skills from the experienced to the inexperienced. Security lacks this today. If I asked you how you learned what you know about security, what would your answer be? In most cases you learned everything you know on your own. There was minimal learning from someone else. This has left us with an industry full of magicians, but even worse it puts us in a place where there is no way to transfer skill and knowledge from one generation to the next. Magicians don,t scale. If we think about this in the context of how we engage non security people it's even worse! Most non security people have no idea what security is, what security does, or even why security is important. It's easy to laugh at the horrible security problems almost everything has today, but in reality we,re laughing at ourselves. Historically we,ve blamed everything else for this problem when in reality it's 100% our fault. One of the our great weaknesses is failing to get the regular people to understand security and why it's important. This isn,t a surprise if you think about how the industry communicates. We can barely talk to each other, how can we possibly talk to someone who doesn,t know anything about security? Normal people are confused and scared, they want to do the right thing but they have no idea what that is. The future leaders in security are going to have to be able to teach and talk to their security peers, but more importantly they will have to engage everyone else. Security is being paid attention to like never before, and yet we have nothing to say to anyone. What has changed in the last few years? If we don,t do our jobs, someone else will do them for us, and we,re not going to like the results. Security isn,t a technical problem, technical problems are easy, security is a communication problem. Communications problems are difficult. Let's figure out how we can fix that.
[WizTree](http://www.majorgeeks.com/files/details/wiztree.html)
* WizTree is a disk space analyzer that will quickly scan your entire hard drive and shows you which files and folders are using the most disk space. WizTree obtains information by directly scanning the MFT file, so it can only work with local (directly attached) drives formatted with the NTFS file system. It won't work with network drives, substituted drives or non-NTFS formatted drives. We may add support for other drive types in the future if there's enough demand.
[Medical Device Law: Compliance Issues, Best Practices and Trends - American Bar Association](https://www.americanbar.org/content/dam/aba/events/cle/2015/10/ce1510mdm/ce1510mdm_interactive.authcheckdam.pdf)
[U.S. Department of Health and Human Services Office for Civil Rights Breach Portal: Notice to the Secretary of HHS Breach of Unsecured Protected Health Information](https://ocrportal.hhs.gov/ocr/breach/breach_report.jsf)
[Virtualization Based Security - Part 2: kernel communications](http://blog.amossys.fr/virtualization-based-security-part2.html)
[Webrecorder](https://webrecorder.io/)
* Create high-fidelity, interactive web archives of any web site you browse
[NSARCHIVE - The Cyber Vault](http://nsarchive.gwu.edu/cybervault/)
* An online resource documenting cyber activities of the U.S. and foreign governments as well as international organizations.
[How to Steal a Nuclear Warhead Without Voiding Your XBox Warranty (paper)](https://www.scribd.com/document/47334072/How-to-Steal-a-Nuclear-Warhead-Without-Voiding-Your-XBox-Warranty-paper)
[A Look In the Mirror: Attacks on Package Managers](https://isis.poly.edu/~jcappos/papers/cappos_mirror_ccs_08.pdf)
[“Considered Harmful” Essays Considered Harmful](http://meyerweb.com/eric/comment/chech.html)
[Detecting Automation of Twitter Accounts:Are You a Human, Bot, or Cyborg](http://www.cs.wm.edu/~hnw/paper/tdsc12b.pdf)
[gibbersense](https://github.com/smxlabs/gibbersense)
* Extract Sense out of Gibberish stuff
[Netdude](http://netdude.sourceforge.net/)
* The Network Dump data Displayer and Editor is a framework for inspection, analysis and manipulation of tcpdump trace files. It addresses the need for a toolset that allows easy inspection, modification, and creation of pcap/tcpdump trace files. Netdude builds on any popular UNIX-like OS, such as Linux, the BSDs, or OSX.
@ -261,25 +173,9 @@ https://www.class-central.com/
## Malware
[Usermode Sandboxing](http://www.malwaretech.com/2014/10/usermode-sandboxing.html)
[Advanced Desktop Application Sandboxing via AppContainer](https://www.malwaretech.com/2015/09/advanced-desktop-application-sandboxing.html)
[The Economics of Exploit Kits & E-Crime](http://www.irongeek.com/i.php?page=videos/bsidescolumbus2016/offense03-the-economics-of-exploit-kits-e-crime-adam-hogan)
* I will discuss how the market for exploit kits has been changing, in techniques, marketing and prices. I argue that the competitiveness between exploit kits shows a maturing market, but will leverage economic theory to demonstrate the limits to which that market will continue to mature. This should allow us to understand how exploit kits affect (and are affected by) the rest of the greater market for hacker services, from malware (as an input) to nation-state level attacks (e.g. trickle down from Hacking Team). I hope to provide a better understanding of how exploit kits work and how their sold as well as how this market can teach us about the rational choice to engage in criminal activity and how we might dissuade them.
[PyTrigger: A System to Trigger & Extract User-Activated Malware Behavior](http://cs.gmu.edu/~astavrou/research/PyTrigger_ARES2013.pdf)
* Abstract: We introduce PyTrigger, a dynamic malware analy- sis system that automatically exercises a malware binary extract- ing its behavioral profile even when specific user activity or input is required. To accomplish this, we developed a novel user activity record and playback framework and a new behavior extraction approach. Unlike existing research, the activity recording and playback includes the context of every object in addition to traditional keyboard and mouse actions. The addition of the con- text makes the playback more accurate and avoids dependenciesand pitfalls that come with pure mouse and keyboard replay. Moreover, playback can become more efficient by condensing common activities into a single action. After playback, PyTrigger analyzes the system trace using a combination of multiple states and behavior differencing to accurately extract the malware behavior and user triggered behavior from the complete system trace log. We present the algorithms, architecture and evaluate the PyTrigger prototype using 3994 real malware samples. Results and analysis are presented showing PyTrigger extracts additional behavior in 21% of the samples
[VirtualBox Detection Via WQL Queries](http://waleedassar.blogspot.com/)
[Code Injection Techniques -2013](http://resources.infosecinstitute.com/code-injection-techniques/)
[PowerLoaderEX](https://github.com/BreakingMalware/PowerLoaderEx)
[Injection on Steroids: Code-less Code Injections and 0-Day Techniques](https://breakingmalware.com/injection-techniques/code-less-code-injections-and-0-day-techniques/)
[BG00 Injection on Steroids Code less Code Injections and 0 Day Techniques Paul Schofield Udi Yavo](https://www.youtube.com/watch?v=0BAaAM2wD4s)
[BasicHook](https://github.com/MalwareTech/BasicHook)
* x86 Inline hooking engine (using trampolines)
## Mainframes
@ -287,43 +183,14 @@ https://www.class-central.com/
## Network Scanning and Attacks
[ VLAN hopping, ARP Poisoning and Man-In-The-Middle Attacks in Virtualized Environments - Ronny L. Bull - ANYCON 2017](http://www.irongeek.com/i.php?page=videos/anycon2017/110-vlan-hopping-arp-poisoning-and-man-in-the-middle-attacks-in-virtualized-environments-dr-ronny-l-bull)
* Cloud service providers and data centers offer their customers the ability to deploy virtual machines within multi-tenant environments. These virtual machines are typically connected to the physical network via a virtualized network configuration. This could be as simple as a bridged interface to each virtual machine or as complicated as a virtual switch providing more robust networking features such as VLANs, QoS, and monitoring. In this talk I will demonstrate the effects of VLAN hopping, ARP poisoning and Man-in-the-Middle attacks across every major hypervisor platform, including results of attacks originating from the physically connected network as well as within the virtual networks themselves. Each attack category that is discussed will be accompanied by a detailed proof of concept demonstration of the attack.
[LLMNR and NBT-NS Poisoning Using Responder](https://www.4armed.com/blog/llmnr-nbtns-poisoning-using-responder/)
## Network | Monitoring & Logging
[Stenographer](https://github.com/google/stenographer/blob/master/README.md)
* Stenographer is a full-packet-capture utility for buffering packets to disk for intrusion detection and incident response purposes. It provides a high-performance implementation of NIC-to-disk packet writing, handles deleting those files as disk fills up, and provides methods for reading back specific sets of packets quickly and easily.
[Netdude](http://netdude.sourceforge.net/)
* The Network Dump data Displayer and Editor is a framework for inspection, analysis and manipulation of tcpdump trace files. It addresses the need for a toolset that allows easy inspection, modification, and creation of pcap/tcpdump trace files. Netdude builds on any popular UNIX-like OS, such as Linux, the BSDs, or OSX.
## OSINT
[Tinfoleak](http://vicenteaguileradiaz.com/tools/)
* tinfoleak is a simple Python script that allow to obtain:
..* basic information about a Twitter user (name, picture, location, followers, etc.)
..* devices and operating systems used by the Twitter user
..* applications and social networks used by the Twitter user
..* place and geolocation coordinates to generate a tracking map of locations visited
..* show user tweets in Google Earth!
..* download all pics from a Twitter user
..* hashtags used by the Twitter user and when are used (date and time)
..* user mentions by the the Twitter user and when are occurred (date and time)
..* topics used by the Twitter user
[dvcs-ripper](https://github.com/kost/dvcs-ripper)
* Rip web accessible (distributed) version control systems: SVN, GIT, Mercurial/hg, bzr, ... It can rip repositories even
when directory browsing is turned off.
[ZOMG Its OSINT Heaven Tazz Tazz](https://www.youtube.com/watch?v=cLmEJLy7dv8)
[Practical OSINT - Shane MacDougall](https://www.youtube.com/watch?v=cLmEJLy7dv8)
* There’s more to life to OSINT than google scraping and social media harvesting. Learn some practical methods to automate information gathering, explore some of the most useful tools, and learn how to recognize valuable data when you see it. Not only will we explore various tools, attendees will get access to unpublished transforms they can use/modify for their own use.
## OS X
@ -341,65 +208,28 @@ when directory browsing is turned off.
## Post Exploitation/Privilege Escalation
[Noob 101: Practical Techniques for AV Bypass - Jared Hoffman - ANYCON 2017](http://www.irongeek.com/i.php?page=videos/anycon2017/103-noob-101-practical-techniques-for-av-bypass-jared-hoffman)
* The shortcomings of anti-virus (AV) solutions have been well known for some time. Nevertheless, both public and private organizations continue to rely on AV software as a critical component of their information security programs, acting as a key protection mechanism over endpoints and other information systems within their networks. As a result, the security posture of these organizations is significantly jeopardized by relying only on this weakened control.
[SYSTEM Context Persistence in GPO Startup Scripts](https://cybersyndicates.com/2016/01/system-context-persistence-in-gpo-startup/)
[Piper](https://github.com/p3nt4/Piper)
* Creates a local or remote port forwarding through named pipes.
[Scanning Effectively Through a SOCKS Pivot with Nmap and Proxychains](https://cybersyndicates.com/2015/12/nmap-and-proxychains-scanning-through-a-socks-piviot/)
* [Script](https://github.com/killswitch-GUI/PenTesting-Scripts/blob/master/Proxychains-Nmap.py)
[KeeFarce](https://github.com/denandz/KeeFarce)
* Extracts passwords from a KeePass 2.x database, directly from memory.
[MacroShop](https://github.com/khr0x40sh/MacroShop)
* Collection of scripts to aid in delivering payloads via Office Macros.
[Invoke-Obfuscation](https://github.com/danielbohannon/Invoke-Obfuscation)
* Invoke-Obfuscation is a PowerShell v2.0+ compatible PowerShell command and script obfuscator.
* [Presentation](https://www.youtube.com/watch?v=P1lkflnWb0I)
[How to Bypass Anti-Virus to Run Mimikatz](http://www.blackhillsinfosec.com/?p=5555)
[Dragon: A Windows, non-binding, passive download / exec backdoor](http://www.shellntel.com/blog/2015/6/11/dragon-a-windows-non-binding-passive-downloadexec-backdoor)
[injectAllTheThings](https://github.com/fdiskyou/injectAllTheThings/)
* Single Visual Studio project implementing multiple DLL injection techniques (actually 7 different techniques) that work both for 32 and 64 bits. Each technique has its own source code file to make it easy way to read and understand.
[Inject All the Things - Shut up and hack](http://blog.deniable.org/blog/2017/07/16/inject-all-the-things/)
* Accompanying above project
[Windows Driver and Service enumeration with Python](https://cybersyndicates.com/2015/09/windows-driver-and-service-enumeration-with-python/)
[PowerLoaderEX](https://github.com/BreakingMalware/PowerLoaderEx)
[Injection on Steroids: Code-less Code Injections and 0-Day Techniques](https://breakingmalware.com/injection-techniques/code-less-code-injections-and-0-day-techniques/)
[Injection on Steroids: Code less Code Injections and 0 Day Techniques - Paul Schofield Udi Yavo](https://www.youtube.com/watch?v=0BAaAM2wD4s)
[PowerShell and Token Impersonation](https://clymb3r.wordpress.com/2013/11/03/powershell-and-token-impersonation/)
[Accessing the Windows API in PowerShell via internal .NET methods and reflection](http://www.exploit-monday.com/2012/05/accessing-native-windows-api-in.html)
* It is possible to invoke Windows API function calls via internal .NET native method wrappers in PowerShell without requiring P/Invoke or C# compilation. How is this useful for an attacker? You can call any Windows API function (exported or non-exported) entirely in memory. For those familiar with Metasploit internals, think of this as an analogue to railgun.
## Programming:
[How Attackers Dump Active Directory Database Credentials](https://adsecurity.org/?p=2398)
[WinREPL](https://github.com/zerosum0x0/WinREPL)
* x86 and x64 assembly "read-eval-print loop" shell for Windows
## Programming:
[awesome-php](https://github.com/ziadoz/awesome-php)
* A curated list of amazingly awesome PHP libraries, resources and shiny things.
## Policy and Compliance
## RE
[Hyper-V debugging for beginners](http://hvinternals.blogspot.com/2015/10/hyper-v-debugging-for-beginners.html?m=1)
[Software Hooking methods reveiw(2016)]((https://www.blackhat.com/docs/us-16/materials/us-16-Yavo-Captain-Hook-Pirating-AVs-To-Bypass-Exploit-Mitigations-wp.pdf)
[Deviare v2.0](http://whiteboard.nektra.com/deviare-v-2-0)
* The Deviare API has been developed to intercept any API calls, letting you get control of the flow of execution of any application.
[Reverse History Part Two – Research](http://jakob.engbloms.se/archives/1554)
[SpyStudio Tutorials](http://whiteboard.nektra.com/spystudio-2-0-quickstart)
@ -410,70 +240,16 @@ when directory browsing is turned off.
## Red Team/Pentesting
[Adam Compton - Hillbilly Storytime - Pentest Fails](https://www.youtube.com/watch?v=GSbKeTPv2TU)
* Whether or not you are just starting in InfoSec, it is always important to remember that mistakes happen, even to the best and most seasoned of analysts. The key is to learn from your mistakes and keep going. So, if you have a few minutes and want to talk a load off for a bit, come and join in as a hillbilly spins a yarn about a group unfortunate pentesters and their misadventures. All stories and events are true (but the names have been be changed to prevent embarrassment).
[Sniffing Sunlight - Erik Kamerling - ANYCON2017](http://www.irongeek.com/i.php?page=videos/anycon2017/102-sniffing-sunlight-erik-kamerling)
* Laser listening devices (laser microphones) are a well understood technology. They have historically been used in the surreptitious surveillance of protected spaces. Using such a device, an attacker bounces an infrared laser off of a reflective surface, and receives the ricocheted beam with a photoreceptor. If the beam is reflected from a surface that is vibrating due to sound (voice is a typical background target), that sound is subsequently modulated into the beam and can be demodulated at the receptor. This is a known attack method and will be briefly discussed. However, does this principle also hold for non-amplified or naturally concentrated light sources? Can one retrieve modulated audio from reflected sunlight? The idea of modulating voice with sunlight was pioneered by Alexander Graham Bell in 1880 with an invention called the Photophone. A Photophone uses the audio modulation concept now used in laser microphones, but relied on a concentrated beam of sunlight rather than a laser to communicate at distance. Considering that Bell proved that intentionally concentrated sunlight can be used to modulate voice, we will explore under what natural conditions modulated audio can be found in reflected ambient light. Using off the shelf solar-cells and handmade amplifiers, Erik will demonstrate the use of the receiver side of a historic Photophone to identify instances of modulated audio in reflected light under common conditions.
[DIY Spy Covert Channels With Scapy And Python - Jen Allen - ANYCON 2017](http://www.irongeek.com/i.php?page=videos/anycon2017/diy-spy-covert-channels-with-scapy-and-python-jen-allen)
[Egressing Bluecoat with CobaltStike & Let's Encrypt](https://cybersyndicates.com/2016/12/egressing-bluecoat-with-cobaltstike-letsencrypt/)
[Expand Your Horizon Red Team – Modern SaaS C2](https://cybersyndicates.com/2017/04/expand-your-horizon-red-team/)
[Expand Your Horizon Red Team – Modern SaaS C2 - Python WSGI C2](https://cybersyndicates.com/2017/04/expand-your-horizon-red-team/)
[High-reputation Redirectors and Domain Fronting](https://blog.cobaltstrike.com/2017/02/06/high-reputation-redirectors-and-domain-fronting/)
[Blocking-resistant communication through domain fronting](https://www.bamsoftware.com/talks/fronting-pets2015/)
[Camouflage at encryption layer: domain fronting](https://www.securityartwork.es/2017/01/24/camouflage-at-encryption-layer-domain-fronting/)
[Domain Fronting - Infosec Institute](http://resources.infosecinstitute.com/domain-fronting/)
[injectAllTheThings](https://github.com/fdiskyou/injectAllTheThings/)
* Single Visual Studio project implementing multiple DLL injection techniques (actually 7 different techniques) that work both for 32 and 64 bits. Each technique has its own source code file to make it easy way to read and understand.
[Inject All the Things - Shut up and hack](http://blog.deniable.org/blog/2017/07/16/inject-all-the-things/)
[Pen Testing a City](https://www.blackhat.com/docs/us-15/materials/us-15-Conti-Pen-Testing-A-City-wp.pdf)
[Staying Persistent in Software Defined Networks](https://www.blackhat.com/docs/us-15/materials/us-15-Pickett-Staying-Persistent-In-Software-Defined-Networks-wp.pdf)
[Abusing Windows Management Instrumentation (WMI) to Build a Persistent, Asyncronous, and Fileless Backdoor](https://www.blackhat.com/docs/us-15/materials/us-15-Graeber-Abusing-Windows-Management-Instrumentation-WMI-To-Build-A-Persistent%20Asynchronous-And-Fileless-Backdoor-wp.pdf)
[Hacking Corporate Em@il Systems - Nate Power](http://www.irongeek.com/i.php?page=videos/bsidescolumbus2016/offense04-hacking-corporate-emil-systems-nate-power)
* In this talk we will discuss current email system attack vectors and how these systems can be abused and leveraged to break into corporate networks. A penetration testing methodology will be discussed and technical demonstrations of attacks will be shown. Phases of this methodology include information gathering, network mapping, vulnerability identification, penetration, privilege escalation, and maintaining access. Methods for organizations to better protect systems will also be discussed.
[A JOURNEY FROM JNDI/LDAP MANIPULATION TO REMOTE CODE EXECUTION DREAM LAND](https://www.blackhat.com/docs/us-16/materials/us-16-Munoz-A-Journey-From-JNDI-LDAP-Manipulation-To-RCE-wp.pdf)
[Code Injection Techniques -2013](http://resources.infosecinstitute.com/code-injection-techniques/)
[Offensive Encrypted Data Storage](http://www.harmj0y.net/blog/redteaming/offensive-encrypted-data-storage/)
[Offensive Encrypted Data Storage (DPAPI edition)](https://posts.specterops.io/offensive-encrypted-data-storage-dpapi-edition-adda90e212ab)
[PowerLoaderEX](https://github.com/BreakingMalware/PowerLoaderEx)
[Injection on Steroids: Code-less Code Injections and 0-Day Techniques](https://breakingmalware.com/injection-techniques/code-less-code-injections-and-0-day-techniques/)
[Injection on Steroids: Code less Code Injections and 0 Day Techniques - Paul Schofield Udi Yavo](https://www.youtube.com/watch?v=0BAaAM2wD4s)
[knit_brute.sh](https://gist.github.com/ropnop/8711392d5e1d9a0ba533705f7f4f455f)
* A quick tool to bruteforce an AD user's password by requesting TGTs from the Domain Controller with 'kinit'
[88MPH Digital tricks to bypass Physical security - ZaCon4 - Andrew MacPherson](https://vimeo.com/52865794)
[Project Loki - Phrack 7-49](http://phrack.org/issues/49/6.html)
* This whitepaper is intended as a complete description of the covert channel that exists in networks that allow ping traffic (hereon referred to in the more general sense of ICMP_ECHO traffic --see below) to pass.
## SCADA
[Remote Physical Damage 101 - Bread and Butter Attacks](https://www.blackhat.com/docs/us-15/materials/us-15-Larsen-Remote-Physical-Damage-101-Bread-And-Butter-Attacks.pdf)
[Simulated Physics And Embedded Virtualization Integration (SPAEVI) - Overview](http://www.spaevi.org/p/the-simulated-physics-and-embedded.html)
@ -482,43 +258,12 @@ when directory browsing is turned off.
## Social Engineering
[Jedi Mind Tricks: People Skills for Security Pros - Alex DiPerma - 2017 ANYCON](http://www.irongeek.com/i.php?page=videos/anycon2017/104-jedi-mind-tricks-people-skills-for-security-pros-alex-diperna)
* People skills for security professionals but WAY MORE FUN!
[PG12 Classic Misdirection Social Engineering to Counter Surveillance Peter Clemenko III](https://www.youtube.com/watch?v=AysOwnSUmgg)
[Patching the Human Vulns - Leonard Isham](http://www.irongeek.com/i.php?page=videos/derbycon4/t300-patching-the-human-vulns-leonard-isham)
* You are a hacker, you learn, you play, and you break. The very nature of a hacker is to question what is given to us and to play with the rules. However, most of us do not apply this methodology in all parts of our lives. Many take what is given to us about mood and health as fact and what are the results...overweight, depression, anxiety, and self esteem issues. In this presentation, we will show 2 hackers and their journey on how they addressed the issues mentioned above. Len and Moey followed two separate paths to losing over a combined 150 lbs, gaining confidence, and changing their outlook. The talk will not only cover the touchy feely portion of how to deal with weight, mood,and self esteem but will also be supported by the science behind diets, supplements and perspective. The talk will provide what worked for two hackers. YMMV.
[Cheat Codez: Level UP Your SE Game - Eric Smith (@InfoSecMafia)](http://www.irongeek.com/i.php?page=videos/derbycon3/1206-cheat-codez-level-up-your-se-game-eric-smith)
* Everyone knows what phishing is. Everyone realizes Java applets lead to massive storms of shells. Everyone accepts tailgating is the easiest way into your building. Everyone knows smoking (areas) are bad for you AND your business. Admit it, you paid for that EXACT assessment last year. I could write your report for you without even doing the job. So what’s the problem you ask? That’s EXACTLY the problem, I say. So how do we fix these issues that plague our industry and misalign business expectations? This talk will discuss the value of Social Engineering exercises when conducted with realistic goals yielding actionable results. Of course, that means putting in REAL work throughout the engagement, not “point, click, report, rinse and repeat”. We’ll discuss tips, techniques and secrets that the PROS don’t always blog about. *PRO TIP* – This won’t be a talk on how to use a particular framework or release of a tool (there are plenty of those already). So bring your work boots, it’s time to get dirty and UP your game.
## System Internals
[Windows Data Protection](https://msdn.microsoft.com/en-us/library/ms995355.aspx)
[AD Local Domain groups, Global groups and Universal groups.](https://ss64.com/nt/syntax-groups.html)
[Demystifying AppContainers in Windows 8 (Part I)](https://blog.nextxpert.com/2013/01/31/demystifying-appcontainers-in-windows-8-part-i/)
[AppContainer Isolation](https://msdn.microsoft.com/en-us/library/windows/desktop/mt595898(v=vs.85).aspx)
[Evolution of Process Environment Block (PEB)](http://blog.rewolf.pl/blog/?p=573)
[PEB32 and PEB64 in one definition](http://blog.rewolf.pl/blog/?p=294)
[Unkillable Processes](https://blogs.technet.microsoft.com/markrussinovich/2005/08/17/unkillable-processes/)
[Usermode Sandboxing](http://www.malwaretech.com/2014/10/usermode-sandboxing.html)
[Advanced Desktop Application Sandboxing via AppContainer](https://www.malwaretech.com/2015/09/advanced-desktop-application-sandboxing.html)
[VirtualAlloc function](https://msdn.microsoft.com/en-us/library/windows/desktop/aa366887(v=vs.85).aspx)
[BATTLE OF SKM AND IUM - How Windows 10 rewrites OS Architecture - Alex Ionescu](http://www.alex-ionescu.com/blackhat2015.pdf)
[Exploring Windows virtual memory management](http://www.triplefault.io/2017/08/exploring-windows-virtual-memory.html)
@ -536,44 +281,37 @@ when directory browsing is turned off.
## Web:
[backslash-powered-scanner](https://github.com/PortSwigger/backslash-powered-scanner)
* This extension complements Burp's active scanner by using a novel approach capable of finding and confirming both known and unknown classes of server-side injection vulnerabilities. Evolved from classic manual techniques, this approach reaps many of the benefits of manual testing including casual WAF evasion, a tiny network footprint, and flexibility in the face of input filtering.
[distribute-damage](https://github.com/PortSwigger/distribute-damage)
* Designed to make Burp evenly distribute load across multiple scanner targets, this extension introduces a per-host throttle, and a context menu to trigger scans from. It may also come in useful for avoiding detection.
[Backslash Powered Scanning: Hunting Unknown Vulnerability Classes](http://blog.portswigger.net/2016/11/backslash-powered-scanning-hunting.html)
* Existing web scanners search for server-side injection vulnerabilities by throwing a canned list of technology-specific payloads at a target and looking for signatures - almost like an anti-virus. In this document, I'll share the conception and development of an alternative approach, capable of finding and confirming both known and unknown classes of injection vulnerabilities. Evolved from classic manual techniques, this approach reaps many of the benefits of manual testing including casual WAF evasion, a tiny network footprint, and flexibility in the face of input filtering.
[NodeJS: Remote Code Execution as a Service - Peabnuts123 – Kiwicon 2016](https://www.youtube.com/watch?v=Qvtfagwlfwg)
* [SLIDES](http://archivedchaos.com/post/153372061089/kiwicon-2016-slides-upload)
[SAML Raider](https://github.com/SAMLRaider/SAMLRaider)
* SAML Raider is a Burp Suite extension for testing SAML infrastructures. It contains two core functionalities: Manipulating SAML Messages and manage X.509 certificates.
[Server Side Template Injection](http://blog.portswigger.net/2015/08/server-side-template-injection.html)
[Turning LFI into RFI](https://l.avala.mp/?p=241)
* When configured in a specific way the web application would load the JAR file and search within the file for a class. Interestingly enough, in Java classes you can define a static block that is executed upon the class being processed
[Hacking Jenkins Servers With No Password](https://www.pentestgeek.com/penetration-testing/hacking-jenkins-servers-with-no-password)
[Server-Side Template Injection](http://blog.portswigger.net/2015/08/server-side-template-injection.html)
* This paper defines a methodology for detecting and exploiting template injection, and shows it being applied to craft RCE zerodays for two widely deployed enterprise web applications. Generic exploits are demonstrated for five of the most popular template engines, including escapes from sandboxes whose entire purpose is to handle user-supplied templates in a safe way.
[Exploring SSTI in Flask/Jinja2](https://nvisium.com/blog/2016/03/09/exploring-ssti-in-flask-jinja2/)
[LFI2RCE (Local File Inclusion to Remote Code Execution) advanced exploitation: /proc shortcuts](http://www.ush.it/2008/08/18/lfi2rce-local-file-inclusion-to-remote-code-execution-advanced-exploitation-proc-shortcuts/)
* This paper exposes the ability from the attacker standpoint to use /proc in order to exploit LFI (Local File Inclusion) vulnerabilities.
[mustache-security](https://code.google.com/archive/p/mustache-security/)
* A wiki dedicated to JavaScript MVC security pitfalls
## Wireless Stuff
[SO YOU WANT TO HACK RADIOS - A PRIMER ON WIRELESS REVERSE ENGINEERING](http://conference.hitb.org/hitbsecconf2017ams/materials/D1T4%20-%20Marc%20Newlin%20and%20Matt%20Knight%20-%20So%20You%20Want%20to%20Hack%20Radios.pdf)
[ebay.com: RCE using CCS](http://secalert.net/#ebay-rce-ccs)
[The unexpected dangers of preg_replace()](https://bitquark.co.uk/blog/2013/07/23/the_unexpected_dangers_of_preg_replace)
[Predicting, Decrypting, and Abusing WPA2/802.11 Group Keys Mathy Vanhoef and Frank Piessens, Katholieke Universiteit Leuven](https://www.usenix.org/system/files/conference/usenixsecurity16/sec16_paper_vanhoef.pdf)
[ If it fits - it sniffs: Adventures in WarShipping - Larry Pesce](http://www.irongeek.com/i.php?page=videos/derbycon4/t104-if-it-fits-it-sniffs-adventures-in-warshipping-larry-pesce)
* There are plenty of ways to leverage known wireless attacks against our chosen victims. We've discovered a new WiFi discovery methodology that can give us insight into attack paths, internal distribution methods, internal policies and procedures as well as an opportunity to launch wireless attacks deep inside a facility without even stepping inside; no physical penetration test needed. How do we make that happen? Box it, tape it and slap an address on it: WARSHIPPING. Thanks FedEx, UPS and USPS for doing the heavy lifting for us. We‰'ve even got a new tool to do some of the heavy lifting for location lookups too!
[Funtenna - Transmitter: XYZ Embedded device + RF Funtenna Payload](https://www.blackhat.com/docs/us-15/materials/us-15-Cui-Emanate-Like-A-Boss-Generalized-Covert-Data-Exfiltration-With-Funtenna.pdf)
[The Wireless World of the Internet of Things - JP Dunning ".ronin"](http://www.irongeek.com/i.php?page=videos/derbycon4/t214-the-wireless-world-of-the-internet-of-things-jp-dunning-ronin)
* The Internet of Things brings all the hardware are home together. Most of these devices are controlled through wireless command and control network. But what kind of wireless? And what are the security is in place? This talk with cover the wireless tech used by the Internet of Things and some of the risks to your home or corporate security.
####### Things I wanted to add but didn't get around to sorting
* https://www.nist.gov/itl/applied-cybersecurity/nice/about
* https://github.com/isislab/Project-Ideas/wiki
* https://github.com/enddo/awesome-windows-exploitation/blob/master/README.md

Loading…
Cancel
Save