Analysis

  • max time kernel
    135s
  • max time network
    154s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20230220-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    05-06-2023 16:10

General

  • Target

    SOA.exe

  • Size

    608KB

  • MD5

    9679de6d9acd068c7f902760f73fbd20

  • SHA1

    1aef17bc39349726e31cdf77395b1b420c2417a4

  • SHA256

    93b2e11e63c3e38bd7d2fc22514d2ae970e35ee23bd9fd829a75d25df3794dd8

  • SHA512

    87ce2b5d5104f85dc28826de45111e56fe08113e49906a99ca97f8b67bb4119db347d03646d11ebdc6b5a5857c68fa0fb0fd3f5a7d3a78e9a4b4825295d22c25

  • SSDEEP

    12288:92N8jiZ4zypIPvtPplTY6RhKuQAtb54gWMhSosI6LN4CHUTBiFRIIk1KxtTSPS:92N8jiZ4zypIPvJTDE6AgWMQ9LNC9iFs

Malware Config

Extracted

Family

agenttesla

C2

https://api.telegram.org/bot5814058627:AAFjPgERfyp3AZJXAfISMezajcw2VR_A_9U/

Signatures

  • AgentTesla

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

  • Checks computer location settings 2 TTPs 1 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 1 IoCs
  • Looks up external IP address via web service 1 IoCs

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

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

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

  • Creates scheduled task(s) 1 TTPs 1 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 10 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 20 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\SOA.exe
    "C:\Users\Admin\AppData\Local\Temp\SOA.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4936
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\OsQYOsU.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2972
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\OsQYOsU" /XML "C:\Users\Admin\AppData\Local\Temp\tmp30C4.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:4268
    • C:\Users\Admin\AppData\Local\Temp\SOA.exe
      "C:\Users\Admin\AppData\Local\Temp\SOA.exe"
      2⤵
        PID:3452
      • C:\Users\Admin\AppData\Local\Temp\SOA.exe
        "C:\Users\Admin\AppData\Local\Temp\SOA.exe"
        2⤵
          PID:1904
        • C:\Users\Admin\AppData\Local\Temp\SOA.exe
          "C:\Users\Admin\AppData\Local\Temp\SOA.exe"
          2⤵
          • Accesses Microsoft Outlook profiles
          • Adds Run key to start application
          • Suspicious use of AdjustPrivilegeToken
          • outlook_office_path
          • outlook_win_path
          PID:928

      Network

      MITRE ATT&CK Enterprise v6

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\SOA.exe.log

        Filesize

        1KB

        MD5

        33d62ef2c354f839a8b2b987e6ee41e7

        SHA1

        d76f64ac411a61f3f232f7f9f7b179bd34042226

        SHA256

        f6a84062cb11ccf802324692c2c4c48543377cf717d98efd5de695ed6d0a97d9

        SHA512

        d68a426b2f4646bb45e2267d60680166a8effb9a461e5a07756ba13a3bdf36b27e6e9777d945d03a62362e6976e92214c53ffc7c4f03ec28d3fcfc9a442c5e3c

      • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_xrisxiho.p4q.ps1

        Filesize

        60B

        MD5

        d17fe0a3f47be24a6453e9ef58c94641

        SHA1

        6ab83620379fc69f80c0242105ddffd7d98d5d9d

        SHA256

        96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

        SHA512

        5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

      • C:\Users\Admin\AppData\Local\Temp\tmp30C4.tmp

        Filesize

        1KB

        MD5

        ee87eaec3d11c9a6db7af30e6bea7597

        SHA1

        7d43f78a1dbf5c07ee07d48822792bb9642e2863

        SHA256

        e4048e46f08322bb706b410796b448e5a9dfc09959d213e73fc5c44cb72ec377

        SHA512

        cc91b0cbd7bc0c82a9fcddedd8e1bd5f794153aa9d003e7c8378bd9fbc7c11dee4d014f5f55471f3a4f92ccec960c124bfaa3b56989f81a0e1f90f70903480ba

      • memory/928-147-0x0000000000400000-0x0000000000430000-memory.dmp

        Filesize

        192KB

      • memory/928-191-0x0000000007440000-0x0000000007602000-memory.dmp

        Filesize

        1.8MB

      • memory/928-190-0x00000000071C0000-0x0000000007210000-memory.dmp

        Filesize

        320KB

      • memory/928-188-0x00000000057F0000-0x0000000005800000-memory.dmp

        Filesize

        64KB

      • memory/928-163-0x00000000057F0000-0x0000000005800000-memory.dmp

        Filesize

        64KB

      • memory/928-150-0x0000000005610000-0x0000000005676000-memory.dmp

        Filesize

        408KB

      • memory/2972-162-0x0000000005B70000-0x0000000005B8E000-memory.dmp

        Filesize

        120KB

      • memory/2972-183-0x00000000070C0000-0x00000000070CE000-memory.dmp

        Filesize

        56KB

      • memory/2972-144-0x00000000045B0000-0x00000000045E6000-memory.dmp

        Filesize

        216KB

      • memory/2972-185-0x00000000071B0000-0x00000000071B8000-memory.dmp

        Filesize

        32KB

      • memory/2972-151-0x0000000004BD0000-0x0000000004BF2000-memory.dmp

        Filesize

        136KB

      • memory/2972-152-0x0000000005490000-0x00000000054F6000-memory.dmp

        Filesize

        408KB

      • memory/2972-184-0x00000000071D0000-0x00000000071EA000-memory.dmp

        Filesize

        104KB

      • memory/2972-146-0x0000000004CB0000-0x00000000052D8000-memory.dmp

        Filesize

        6.2MB

      • memory/2972-182-0x0000000007110000-0x00000000071A6000-memory.dmp

        Filesize

        600KB

      • memory/2972-164-0x0000000004670000-0x0000000004680000-memory.dmp

        Filesize

        64KB

      • memory/2972-165-0x0000000004670000-0x0000000004680000-memory.dmp

        Filesize

        64KB

      • memory/2972-166-0x0000000006140000-0x0000000006172000-memory.dmp

        Filesize

        200KB

      • memory/2972-167-0x0000000070CB0000-0x0000000070CFC000-memory.dmp

        Filesize

        304KB

      • memory/2972-177-0x0000000006120000-0x000000000613E000-memory.dmp

        Filesize

        120KB

      • memory/2972-178-0x00000000074C0000-0x0000000007B3A000-memory.dmp

        Filesize

        6.5MB

      • memory/2972-179-0x000000007F1D0000-0x000000007F1E0000-memory.dmp

        Filesize

        64KB

      • memory/2972-180-0x0000000006E80000-0x0000000006E9A000-memory.dmp

        Filesize

        104KB

      • memory/2972-181-0x0000000006F00000-0x0000000006F0A000-memory.dmp

        Filesize

        40KB

      • memory/4936-137-0x0000000004CD0000-0x0000000004CE0000-memory.dmp

        Filesize

        64KB

      • memory/4936-133-0x0000000000260000-0x00000000002FE000-memory.dmp

        Filesize

        632KB

      • memory/4936-138-0x0000000004CD0000-0x0000000004CE0000-memory.dmp

        Filesize

        64KB

      • memory/4936-139-0x0000000006920000-0x00000000069BC000-memory.dmp

        Filesize

        624KB

      • memory/4936-136-0x0000000004CC0000-0x0000000004CCA000-memory.dmp

        Filesize

        40KB

      • memory/4936-135-0x0000000004CE0000-0x0000000004D72000-memory.dmp

        Filesize

        584KB

      • memory/4936-134-0x00000000051F0000-0x0000000005794000-memory.dmp

        Filesize

        5.6MB