
पूर्णतः मॉड्यूलर स्थायित्व ढांचा
PersistAssist एक पूरी तरह से मॉड्यूलर पर्सिस्टेंस फ्रेमवर्क है जो C# में लिखा गया है। सभी पर्सिस्टेंस तकनीकों में एक क्लीनअप विधि शामिल है जो पर्सिस्टेंस को हटाने का काम करेगी, सिवाय पर्सिस्टेंस कोड के। यह एक कार्य प्रगति पर है (WIP) इसलिए कई खाली कक्षाएं हैं, इस परियोजना का मुख्य उद्देश्य शुरू में एक पूरी तरह से मॉड्यूलर फ्रेमवर्क बनाना था जिससे नई सुविधाओं को जोड़ना उतना ही सरल हो जितना कि एक क्लास को इनहेरिट करना और कोड जोड़ना।
लेखक - Victor Suarez (@Gr1mmie)
PersistAssist में पूर्व-संकलित बाइनरी नहीं होंगे, इसलिए आपको कोड को मैन्युअल रूप से संकलित करना होगा। ऐसा करने के लिए, समाधान फ़ाइल खोलें और निर्माण मेनू में "Release" और वांछित आर्किटेक्चर चुनें और स्टार्ट दबाएं।
उपयोग मेनू देखने के लिए, PersistAssist.exe -h का उपयोग करें।
______ __ __ _______ __ __
| __ .-----.----.-----|__.-----| |_| _ .-----.-----|__.-----| |_
| __| -__| _|__ --| |__ --| _| |__ --|__ --| |__ --| _|
|___| |_____|__| |_____|__|_____|____|___|___|_____|_____|__|_____|____|
Author: @Grimmie (@FortyNorthSec)
Ver: v0.2
Usage: PersistAssist.exe -t [technique] -<extra options>
Provide the persist technique and what to do with the technique (persist, cleanup, display info)
To list all available persistence techiques, use PersistAssist.exe -l
-t, --technique=VALUE Persistence technique to use
-a, --action=VALUE Action to perform
-s, --search=VALUE Keyword to search for
--cmd, --command=VALUE Command to use as payload
--rk, --rootkey=VALUE Root key for registry operations
--sk, --subkey=VALUE Sub key for registry operations
--kv, --keyvalue=VALUE Value to assign regirsty key
--rc, --registrycontext=VALUE
Context to write reg key to (options: hkcu or hklm)
--tn, --taskname=VALUE Task name to set for MSBuild operations
--pl, --payload=VALUE Payload to substitute into template
--fp, --filepath=VALUE Path to file/directory to target
--dp, --duplicatepath=VALUE
Path to duplicate file times from, modified all
timestamps
--ts, --timestamp=VALUE
Specify M(odified), A(ccessed), or C(reated)
timestamp. Use ALL to target all timestamps
--nt, --newtime=VALUE Specify a new date to change specified timestamp to
--un, --username=VALUE Specify username for credCheck
--pw, --passwd=VALUE Specify password for credCheck
--efq, --eventFilterQuery=VALUE
EventFilter query for WMI event subscription
--efn, --eventFilterName=VALUE
EventFilter name for WMI event subscription
--ecn, --eventConsumerName=VALUE
EventConsumer name for WMI event subscription
--efv, --eventConsumerValue=VALUE
EventConsumer value for WMI event subscription
-q, --query=VALUE Query to run
--dn, --domain=VALUE Specify current domain
-p, --persist Execute specified techique
-c, --cleanup Clean up specified technique
-l, --list List available techniques
--lm, --listmodule=VALUE
List available techniques from specified module
category
-i, --info Displays information on a specified technique
-h, --help show this message and exit
उपलब्ध मॉड्यूल्स को सूचीबद्ध करने के लिए, PersistAssist.exe -l का उपयोग करें।
______ __ __ _______ __ __
| __ .-----.----.-----|__.-----| |_| _ .-----.-----|__.-----| |_
| __| -__| _|__ --| |__ --| _| |__ --|__ --| |__ --| _|
|___| |_____|__| |_____|__|_____|____|___|___|_____|_____|__|_____|____|
Author: @Grimmie (@FortyNorthSec)
Ver: v0.2
[*] Available modules:
Persistence:
============
Registry:
GenericRegAdd - Add any arbitrary registry key
RunKeys - Registers a RunKey on either HKLM or HKCU
MSBuild:
InlineTasks - Deploys MSBuild InlineTask based payload. Drops file to disk
OverrideTask - Deploys MSBuild OverrideTask based persistence. Drops file to disk and requires admin access
AccountOperations:
WMI:
Misc:
PSProfile - Backdoors PowerShell profile files
StartupFolder - Drops a shortcut to a startup path
Tradecraft:
===========
SvcList - Lists services on a machine
Creds - Cred operations
FileRead - Reads a file in memory to get around having to download files for reading
NetList - basically ipconfig
ProcList - Lists running processes
RegList - Lists contents of specified registry key
SchList - Lists scheduled tasks on a machine
TimeStomp - Modifies file and directory time stamps. Does not modify Entry timestamp
WMIQuery - Run an arbitrary WMI Query
Compile - Standalone utility to compile exes based on C# payloads included in the framework
Payloads:
=========
CSharp:
HelloWorld - hola mundo
MsgBox - Displays a MessageBox
PopCalc - pops calc
PopCalcAPI - Pops calc via the API
VBA:
केवल किसी विशिष्ट श्रेणी के मॉड्यूल्स को सूचीबद्ध करने के लिए, -lm का उपयोग करें। उदाहरण के लिए, सभी उपलब्ध ट्रेडक्राफ्ट मॉड्यूल को सूचीबद्ध करने के लिए: PersistAssist.exe -lm Tradecraft
______ __ __ _______ __ __
| __ .-----.----.-----|__.-----| |_| _ .-----.-----|__.-----| |_
| __| -__| _|__ --| |__ --| _| |__ --|__ --| |__ --| _|
|___| |_____|__| |_____|__|_____|____|___|___|_____|_____|__|_____|____|
Author: @Grimmie (@FortyNorthSec)
Ver: v0.2
Tradecraft:
==========
SvcList - Lists services on a machine
Creds - Cred operations
FileRead - Reads a file in memory to get around having to download files for reading
NetList - basically ipconfig
ProcList - Lists running processes
RegList - Lists contents of specified registry key
SchList - Lists scheduled tasks on a machine
TimeStomp - Modifies file and directory time stamps. Does not modify Entry timestamp
WMIQuery - Run an arbitrary WMI Query
Compile - Standalone utility to compile exes based on C# payloads included in the framework
Persistence में वे उपलब्ध तकनीकें शामिल हैं जिनका उपयोग किया जा सकता है, ट्रेडक्राफ्ट मॉड्यूल विभिन्न कार्यों को करने के लिए उपयोगिता फ़ंक्शन के रूप में काम करते हैं, और पेलोड मॉड्यूल में विभिन्न पर्सिस्टेंस कार्यों के लिए उपयोग किए जा सकने वाले पेलोड शामिल हैं, हालांकि वे वर्तमान में केवल OverrideTask मॉड्यूल के लिए उपलब्ध हैं।
किसी मॉड्यूल के बारे में जानकारी प्राप्त करने के लिए, PersistAssist.exe -t [technique] -i का उपयोग करें।
Name: OverrideTask
Desc: Deploys MSBuild OverrideTask based persistence. Drops file to disk and requires admin access
Usage:
Persist: PersistAssist.exe -t OverrideTask -p -tn [task name] -pl [payload]
Cleanup: PeristAssist.exe -t OverrideTask -c -tn [task name]
Category: MSBuild
Author: