Analysis

  • max time kernel
    153s
  • max time network
    153s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220812-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31/10/2022, 10:46

General

  • Target
    RFI155001002.exe
  • Size 30KB
  • Sample221031-mty4zaaff5
  • SHA256 f1eb46659645f95cf7b90059247cac5cd905e63a9c8852bb92380e8c7be4fdf2
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

C2
  • http://107.189.4.253/b22/inc/7097e0820fdf5c.php

Extracted

Family
  • quasar

Version
  • 1.3.0.0

Botnet
  • Nov

C2
  • 37.139.128.94:5000

Mutex
  • QSR_MUTEX_eZnYtXesrHquJP9u21

Attributes
  • encryption_key

    cnjVAVdqAEtq3rq2N0WD

  • install_name

    Client.exe

  • log_directory

    Logs

  • reconnect_delay

    3000

  • startup_key

    Quasar Client Startup

  • subdirectory

    SubDir

Signatures

  • AgentTesla

    Agent Tesla is a remote access tool (RAT) written in visual basic.

  • Quasar RAT

    Quasar is an open source Remote Access Tool.

  • Quasar payload 1 IoCs
  • Executes dropped EXE 4 IoCs
  • Checks computer location settings 2 TTPs 2 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Reads data files stored by FTP clients 2 TTPs

    Tries to access configuration files associated with programs like FileZilla.

  • Reads user/profile data of local email clients 2 TTPs

    Email clients store some user data on disk where infostealers will often target it.

  • Reads user/profile data of web browsers 2 TTPs

    Infostealers often target stored browser data, which can include saved credentials etc.

  • Accesses Microsoft Outlook profiles 1 TTPs 3 IoCs
  • Adds Run key to start application 2 TTPs 2 IoCs
  • Looks up external IP address via web service 2 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Suspicious use of SetThreadContext 2 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.

  • Suspicious behavior: EnumeratesProcesses 11 IoCs
  • Suspicious use of AdjustPrivilegeToken 6 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 31 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\RFI155001002.exe
    "C:\Users\Admin\AppData\Local\Temp\RFI155001002.exe"
    1⤵
    • Checks computer location settings
    • Adds Run key to start application
    • Suspicious use of SetThreadContext
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1264
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -enc UwB0AGEAcgB0AC0AUwBsAGUAZQBwACAALQBTAGUAYwBvAG4AZABzACAANQAwAA==
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:5096
    • C:\Users\Admin\AppData\Local\Temp\Omiwtweajvlictzkrcrdfinear1.exe
      "C:\Users\Admin\AppData\Local\Temp\Omiwtweajvlictzkrcrdfinear1.exe"
      2⤵
      • Executes dropped EXE
      • Checks computer location settings
      • Adds Run key to start application
      • Suspicious use of SetThreadContext
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:3592
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -enc UwB0AGEAcgB0AC0AUwBsAGUAZQBwACAALQBTAGUAYwBvAG4AZABzACAANQAwAA==
        3⤵
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:2960
      • C:\Users\Admin\AppData\Local\Temp\Omiwtweajvlictzkrcrdfinear1.exe
        C:\Users\Admin\AppData\Local\Temp\Omiwtweajvlictzkrcrdfinear1.exe
        3⤵
        • Executes dropped EXE
        PID:1820
      • C:\Users\Admin\AppData\Local\Temp\Omiwtweajvlictzkrcrdfinear1.exe
        C:\Users\Admin\AppData\Local\Temp\Omiwtweajvlictzkrcrdfinear1.exe
        3⤵
        • Executes dropped EXE
        PID:4688
      • C:\Users\Admin\AppData\Local\Temp\Omiwtweajvlictzkrcrdfinear1.exe
        C:\Users\Admin\AppData\Local\Temp\Omiwtweajvlictzkrcrdfinear1.exe
        3⤵
        • Executes dropped EXE
        • Suspicious use of AdjustPrivilegeToken
        PID:2792
    • C:\Users\Admin\AppData\Local\Temp\RFI155001002.exe
      C:\Users\Admin\AppData\Local\Temp\RFI155001002.exe
      2⤵
      • Accesses Microsoft Outlook profiles
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      • outlook_office_path
      • outlook_win_path
      PID:2064

Network

        MITRE ATT&CK Enterprise v6

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        Omiwtweajvlictzkrcrdfinear1.exe.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\Omiwtweajvlictzkrcrdfinear1.exe.log
        • Size 1KB
        • SHA256 0aaf22dc84cc3fcfe53de7ccfed8e662247dfb7f1a9967032c88790d0c663461
        • MD5 SHA1 SHA512

        powershell.exe.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\powershell.exe.log
        • Size 1KB
        • SHA256 e2486a1bdcba80dad6dd6210d7374bd70ae196a523c06ceda71370fd3ea78359
        • MD5 SHA1 SHA512

        ModuleAnalysisCache

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\ModuleAnalysisCache
        • Size 53KB
        • SHA256 474813b625f00710f29fa3b488235a6a22201851efb336bddf60d7d24a66bfba
        • MD5 SHA1 SHA512 SSDEEP

        StartupProfileData-NonInteractive

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 16KB
        • SHA256 4d4e8cd9497f3c2a433b40d1cd4769b2cd2086cce508bcc3bbd19710d46f9dee
        • MD5 SHA1 SHA512 SSDEEP

        Omiwtweajvlictzkrcrdfinear1.exe

        • Path C:\Users\Admin\AppData\Local\Temp\Omiwtweajvlictzkrcrdfinear1.exe
        • Size 30KB
        • SHA256 fb263c2fb2259da83ddd65a7c68af2332480a3d766c0f7f851f8b9dd1083b346
        • MD5 SHA1 SHA512 SSDEEP

        Omiwtweajvlictzkrcrdfinear1.exe

        • Path C:\Users\Admin\AppData\Local\Temp\Omiwtweajvlictzkrcrdfinear1.exe
        • Size 30KB
        • SHA256 fb263c2fb2259da83ddd65a7c68af2332480a3d766c0f7f851f8b9dd1083b346
        • MD5 SHA1 SHA512 SSDEEP

        Omiwtweajvlictzkrcrdfinear1.exe

        • Path C:\Users\Admin\AppData\Local\Temp\Omiwtweajvlictzkrcrdfinear1.exe
        • Size 30KB
        • SHA256 fb263c2fb2259da83ddd65a7c68af2332480a3d766c0f7f851f8b9dd1083b346
        • MD5 SHA1 SHA512 SSDEEP

        Omiwtweajvlictzkrcrdfinear1.exe

        • Path C:\Users\Admin\AppData\Local\Temp\Omiwtweajvlictzkrcrdfinear1.exe
        • Size 30KB
        • SHA256 fb263c2fb2259da83ddd65a7c68af2332480a3d766c0f7f851f8b9dd1083b346
        • MD5 SHA1 SHA512 SSDEEP

        Omiwtweajvlictzkrcrdfinear1.exe

        • Path C:\Users\Admin\AppData\Local\Temp\Omiwtweajvlictzkrcrdfinear1.exe
        • Size 30KB
        • SHA256 fb263c2fb2259da83ddd65a7c68af2332480a3d766c0f7f851f8b9dd1083b346
        • MD5 SHA1 SHA512 SSDEEP

        memory/1264-133-0x0000000006540000-0x0000000006562000-memory.dmp

        memory/1264-132-0x0000000000210000-0x000000000021E000-memory.dmp

        memory/2064-588-0x0000000005670000-0x000000000570C000-memory.dmp

        memory/2064-147-0x0000000000400000-0x000000000043C000-memory.dmp

        memory/2064-148-0x0000000005C20000-0x00000000061C4000-memory.dmp

        memory/2064-6052-0x0000000007230000-0x000000000723A000-memory.dmp

        memory/2064-6051-0x0000000007270000-0x0000000007302000-memory.dmp

        memory/2064-6050-0x0000000006ED0000-0x0000000006F20000-memory.dmp

        memory/2792-6062-0x0000000000400000-0x000000000045E000-memory.dmp

        memory/2792-6063-0x00000000067E0000-0x00000000067F2000-memory.dmp

        memory/2792-6064-0x0000000006D50000-0x0000000006D8C000-memory.dmp

        memory/3592-149-0x0000000008DE0000-0x0000000008E21000-memory.dmp

        memory/3592-206-0x0000000008DE0000-0x0000000008E21000-memory.dmp

        memory/3592-168-0x0000000008DE0000-0x0000000008E21000-memory.dmp

        memory/3592-170-0x0000000008DE0000-0x0000000008E21000-memory.dmp

        memory/3592-172-0x0000000008DE0000-0x0000000008E21000-memory.dmp

        memory/3592-174-0x0000000008DE0000-0x0000000008E21000-memory.dmp

        memory/3592-176-0x0000000008DE0000-0x0000000008E21000-memory.dmp

        memory/3592-178-0x0000000008DE0000-0x0000000008E21000-memory.dmp

        memory/3592-180-0x0000000008DE0000-0x0000000008E21000-memory.dmp

        memory/3592-182-0x0000000008DE0000-0x0000000008E21000-memory.dmp

        memory/3592-184-0x0000000008DE0000-0x0000000008E21000-memory.dmp

        memory/3592-186-0x0000000008DE0000-0x0000000008E21000-memory.dmp

        memory/3592-188-0x0000000008DE0000-0x0000000008E21000-memory.dmp

        memory/3592-190-0x0000000008DE0000-0x0000000008E21000-memory.dmp

        memory/3592-192-0x0000000008DE0000-0x0000000008E21000-memory.dmp

        memory/3592-194-0x0000000008DE0000-0x0000000008E21000-memory.dmp

        memory/3592-196-0x0000000008DE0000-0x0000000008E21000-memory.dmp

        memory/3592-200-0x0000000008DE0000-0x0000000008E21000-memory.dmp

        memory/3592-198-0x0000000008DE0000-0x0000000008E21000-memory.dmp

        memory/3592-202-0x0000000008DE0000-0x0000000008E21000-memory.dmp

        memory/3592-204-0x0000000008DE0000-0x0000000008E21000-memory.dmp

        memory/3592-166-0x0000000008DE0000-0x0000000008E21000-memory.dmp

        memory/3592-208-0x0000000008DE0000-0x0000000008E21000-memory.dmp

        memory/3592-210-0x0000000008DE0000-0x0000000008E21000-memory.dmp

        memory/3592-164-0x0000000008DE0000-0x0000000008E21000-memory.dmp

        memory/3592-162-0x0000000008DE0000-0x0000000008E21000-memory.dmp

        memory/3592-160-0x0000000008DE0000-0x0000000008E21000-memory.dmp

        memory/3592-158-0x0000000008DE0000-0x0000000008E21000-memory.dmp

        memory/3592-156-0x0000000008DE0000-0x0000000008E21000-memory.dmp

        memory/3592-154-0x0000000008DE0000-0x0000000008E21000-memory.dmp

        memory/3592-152-0x0000000008DE0000-0x0000000008E21000-memory.dmp

        memory/3592-150-0x0000000008DE0000-0x0000000008E21000-memory.dmp

        memory/3592-145-0x0000000000AB0000-0x0000000000ABE000-memory.dmp

        memory/5096-141-0x00000000068C0000-0x00000000068DA000-memory.dmp

        memory/5096-140-0x0000000007A90000-0x000000000810A000-memory.dmp

        memory/5096-139-0x0000000006430000-0x000000000644E000-memory.dmp

        memory/5096-138-0x0000000005510000-0x0000000005576000-memory.dmp

        memory/5096-137-0x00000000054A0000-0x0000000005506000-memory.dmp

        memory/5096-136-0x00000000055B0000-0x0000000005BD8000-memory.dmp

        memory/5096-135-0x0000000002AA0000-0x0000000002AD6000-memory.dmp