Analysis

  • max time kernel
    93s
  • max time network
    94s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240508-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29/06/2024, 07:01

General

  • Target
    RFQ 52165 Materiale vario OENAGROUP.pdf.exe
  • Size 916KB
  • Sample240629-hs8jssshpc
  • SHA256 de8c7c543f438af1e7e78096f6873268e9b1a12745edf9c88db07e136163399e
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

C2
  • https://api.telegram.org/bot5409839916:AAEYUYZy0IhJQAm4VXi620si4okGW8FDL2w/

Signatures

  • AgentTesla

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

  • Command and Scripting Interpreter: PowerShell 1 TTPs 2 IoCs

    Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.

  • Checks computer location settings 2 TTPs 1 IoCs

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

  • 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
  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Suspicious behavior: EnumeratesProcesses 8 IoCs
  • Suspicious behavior: RenamesItself 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 17 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\RFQ 52165 Materiale vario OENAGROUP.pdf.exe
    "C:\Users\Admin\AppData\Local\Temp\RFQ 52165 Materiale vario OENAGROUP.pdf.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:3028
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Local\Temp\RFQ 52165 Materiale vario OENAGROUP.pdf.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3444
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\nOAiyaZU.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4604
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\nOAiyaZU" /XML "C:\Users\Admin\AppData\Local\Temp\tmpF05B.tmp"
      2⤵
      • Scheduled Task/Job: Scheduled Task
      PID:2620
    • C:\Users\Admin\AppData\Local\Temp\RFQ 52165 Materiale vario OENAGROUP.pdf.exe
      "C:\Users\Admin\AppData\Local\Temp\RFQ 52165 Materiale vario OENAGROUP.pdf.exe"
      2⤵
      • Accesses Microsoft Outlook profiles
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious behavior: RenamesItself
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      • outlook_office_path
      • outlook_win_path
      PID:4108

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        powershell.exe.log

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

        StartupProfileData-NonInteractive

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

        __PSScriptPolicyTest_4sg0uck3.kmn.ps1

        • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_4sg0uck3.kmn.ps1
        • Size 60B
        • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
        • MD5 SHA1 SHA512

        tmpF05B.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmpF05B.tmp
        • Size 1KB
        • SHA256 6ad2ecd6212fdad15948292f353da2f31525a5005cda5ba9dfa32b7e684a1480
        • MD5 SHA1 SHA512

        memory/3028-8-0x0000000074CB0000-0x0000000075460000-memory.dmp

        memory/3028-11-0x0000000006B00000-0x0000000006B9C000-memory.dmp

        memory/3028-6-0x00000000051E0000-0x00000000051F0000-memory.dmp

        memory/3028-7-0x0000000074CBE000-0x0000000074CBF000-memory.dmp

        memory/3028-5-0x0000000074CB0000-0x0000000075460000-memory.dmp

        memory/3028-9-0x0000000005240000-0x000000000524A000-memory.dmp

        memory/3028-10-0x00000000069C0000-0x0000000006A62000-memory.dmp

        memory/3028-4-0x0000000004C90000-0x0000000004C9A000-memory.dmp

        memory/3028-12-0x0000000009320000-0x0000000009674000-memory.dmp

        memory/3028-3-0x0000000004CB0000-0x0000000004D42000-memory.dmp

        memory/3028-2-0x0000000005260000-0x0000000005804000-memory.dmp

        memory/3028-51-0x0000000074CB0000-0x0000000075460000-memory.dmp

        memory/3028-0-0x0000000074CBE000-0x0000000074CBF000-memory.dmp

        memory/3028-44-0x00000000025A0000-0x000000000260C000-memory.dmp

        memory/3028-1-0x00000000001B0000-0x0000000000298000-memory.dmp

        memory/3444-47-0x0000000074CB0000-0x0000000075460000-memory.dmp

        memory/3444-66-0x0000000007060000-0x0000000007103000-memory.dmp

        memory/3444-92-0x0000000074CB0000-0x0000000075460000-memory.dmp

        memory/3444-22-0x0000000005060000-0x00000000050C6000-memory.dmp

        memory/3444-24-0x0000000005850000-0x00000000058B6000-memory.dmp

        memory/3444-17-0x0000000004AC0000-0x0000000004AF6000-memory.dmp

        memory/3444-20-0x0000000074CB0000-0x0000000075460000-memory.dmp

        memory/3444-80-0x0000000007630000-0x00000000076C6000-memory.dmp

        memory/3444-21-0x0000000004FC0000-0x0000000004FE2000-memory.dmp

        memory/3444-18-0x0000000074CB0000-0x0000000075460000-memory.dmp

        memory/3444-19-0x0000000005130000-0x0000000005758000-memory.dmp

        memory/3444-83-0x00000000075F0000-0x0000000007604000-memory.dmp

        memory/3444-78-0x00000000073B0000-0x00000000073CA000-memory.dmp

        memory/3444-65-0x0000000006FF0000-0x000000000700E000-memory.dmp

        memory/3444-55-0x000000006FAD0000-0x000000006FB1C000-memory.dmp

        memory/3444-54-0x0000000007010000-0x0000000007042000-memory.dmp

        memory/3444-82-0x00000000075E0000-0x00000000075EE000-memory.dmp

        memory/3444-84-0x00000000076F0000-0x000000000770A000-memory.dmp

        memory/3444-77-0x0000000007A00000-0x000000000807A000-memory.dmp

        memory/4108-53-0x00000000055C0000-0x00000000055D8000-memory.dmp

        memory/4108-86-0x00000000063A0000-0x00000000063F0000-memory.dmp

        memory/4108-45-0x0000000000400000-0x000000000043A000-memory.dmp

        memory/4604-49-0x0000000074CB0000-0x0000000075460000-memory.dmp

        memory/4604-81-0x0000000007710000-0x0000000007721000-memory.dmp

        memory/4604-79-0x0000000007580000-0x000000000758A000-memory.dmp

        memory/4604-67-0x000000006FAD0000-0x000000006FB1C000-memory.dmp

        memory/4604-85-0x0000000007830000-0x0000000007838000-memory.dmp

        memory/4604-52-0x0000000006730000-0x000000000677C000-memory.dmp

        memory/4604-50-0x00000000061F0000-0x000000000620E000-memory.dmp

        memory/4604-46-0x0000000074CB0000-0x0000000075460000-memory.dmp

        memory/4604-25-0x0000000074CB0000-0x0000000075460000-memory.dmp

        memory/4604-93-0x0000000074CB0000-0x0000000075460000-memory.dmp