Analysis

  • max time kernel
    154s
  • max time network
    186s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220414-en
  • submitted
    21-05-2022 11:40

General

  • Target

    HALKBANK.exe

  • Size

    2.6MB

  • MD5

    0dc79297559b6ff6a2db2870c4de1313

  • SHA1

    ed43611311d5a94ce56a5fff8e45a8ac437fbf12

  • SHA256

    16fcaf343d6c5ec3c546339a522c47b7e44f0684ff50a7acf49d8439e2956a93

  • SHA512

    c3afb996357edb3c6d006476768a3354d629eb29ff345d64098369cad19753a50a7eefe28fc53e8f4841cc7a006b2fa43cb906a65852cab91525c2be1a161a1b

Malware Config

Extracted

Family

agenttesla

Credentials

  • Protocol:
    smtp
  • Host:
    mail.bunsadokum.com
  • Port:
    587
  • Username:
    [email protected]
  • Password:
    posta38Bunsa

Signatures

  • AgentTesla

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

  • MassLogger

    Masslogger is a .NET stealer targeting passwords from browsers, email and cryptocurrency clients.

  • MassLogger Main Payload 4 IoCs
  • AgentTesla Payload 1 IoCs
  • Executes dropped EXE 5 IoCs
  • Checks computer location settings 2 TTPs 2 IoCs

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

  • Adds Run key to start application 2 TTPs 4 IoCs
  • Suspicious use of SetThreadContext 3 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Program crash 2 IoCs
  • Suspicious behavior: EnumeratesProcesses 61 IoCs
  • Suspicious use of AdjustPrivilegeToken 6 IoCs
  • Suspicious use of WriteProcessMemory 45 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\HALKBANK.exe
    "C:\Users\Admin\AppData\Local\Temp\HALKBANK.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2712
    • C:\Users\Admin\AppData\Local\Temp\RegAsm.exe
      "C:\Users\Admin\AppData\Local\Temp\RegAsm.exe"
      2⤵
      • Executes dropped EXE
      • Checks computer location settings
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:748
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /c REG ADD HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run /f /v firefoxx /t REG_SZ /d C:\Windows\system32\pcalua.exe" -a C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\firefoxx.exe"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:4472
        • C:\Windows\SysWOW64\reg.exe
          REG ADD HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run /f /v firefoxx /t REG_SZ /d C:\Windows\system32\pcalua.exe" -a C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\firefoxx.exe"
          4⤵
          • Adds Run key to start application
          PID:1552
      • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\firefoxx.exe
        "C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\firefoxx.exe"
        3⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:456
        • C:\Users\Admin\AppData\Local\Temp\RegAsm.exe
          "C:\Users\Admin\AppData\Local\Temp\RegAsm.exe"
          4⤵
          • Executes dropped EXE
          • Suspicious use of SetThreadContext
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of WriteProcessMemory
          PID:3264
          • C:\Users\Admin\AppData\Local\Temp\RegAsm.exe
            "C:\Users\Admin\AppData\Local\Temp\RegAsm.exe"
            5⤵
            • Executes dropped EXE
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of AdjustPrivilegeToken
            PID:608
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 456 -s 1264
          4⤵
          • Program crash
          PID:3216
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 456 -s 1264
          4⤵
          • Program crash
          PID:2868
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /c REG ADD HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run /f /v firefoxx /t REG_SZ /d C:\Windows\system32\pcalua.exe" -a C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\firefoxx.exe"
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:2332
      • C:\Windows\SysWOW64\reg.exe
        REG ADD HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run /f /v firefoxx /t REG_SZ /d C:\Windows\system32\pcalua.exe" -a C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\firefoxx.exe"
        3⤵
        • Adds Run key to start application
        PID:728
    • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\firefoxx.exe
      "C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\firefoxx.exe"
      2⤵
      • Executes dropped EXE
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2360
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 456 -ip 456
    1⤵
      PID:2584

    Network

    MITRE ATT&CK Enterprise v6

    Replay Monitor

    Loading Replay Monitor...

    Downloads

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

      Filesize

      1KB

      MD5

      47f56f7a4208d40f024952a3a0e321d9

      SHA1

      2378ca699a7a6d441d82df52e9c26936e60a4498

      SHA256

      facbf316a2254647ff371e485d7ed4b97ade4450685d7a992fa573c0d3e159e7

      SHA512

      c8b9e53739e17bd7c72df0dbb0e24fb6f0581c658b79a395a09aea463f141489848fd62a265a09dfb3da4feb7abc3d5f323743921faa3c951d00b1a18a65c39c

    • C:\Users\Admin\AppData\Local\Temp\RegAsm.exe

      Filesize

      63KB

      MD5

      0d5df43af2916f47d00c1573797c1a13

      SHA1

      230ab5559e806574d26b4c20847c368ed55483b0

      SHA256

      c066aee7aa3aa83f763ebc5541daa266ed6c648fbffcde0d836a13b221bb2adc

      SHA512

      f96cf9e1890746b12daf839a6d0f16f062b72c1b8a40439f96583f242980f10f867720232a6fa0f7d4d7ac0a7a6143981a5a130d6417ea98b181447134c7cfe2

    • C:\Users\Admin\AppData\Local\Temp\RegAsm.exe

      Filesize

      63KB

      MD5

      0d5df43af2916f47d00c1573797c1a13

      SHA1

      230ab5559e806574d26b4c20847c368ed55483b0

      SHA256

      c066aee7aa3aa83f763ebc5541daa266ed6c648fbffcde0d836a13b221bb2adc

      SHA512

      f96cf9e1890746b12daf839a6d0f16f062b72c1b8a40439f96583f242980f10f867720232a6fa0f7d4d7ac0a7a6143981a5a130d6417ea98b181447134c7cfe2

    • C:\Users\Admin\AppData\Local\Temp\RegAsm.exe

      Filesize

      63KB

      MD5

      0d5df43af2916f47d00c1573797c1a13

      SHA1

      230ab5559e806574d26b4c20847c368ed55483b0

      SHA256

      c066aee7aa3aa83f763ebc5541daa266ed6c648fbffcde0d836a13b221bb2adc

      SHA512

      f96cf9e1890746b12daf839a6d0f16f062b72c1b8a40439f96583f242980f10f867720232a6fa0f7d4d7ac0a7a6143981a5a130d6417ea98b181447134c7cfe2

    • C:\Users\Admin\AppData\Local\Temp\RegAsm.exe

      Filesize

      63KB

      MD5

      0d5df43af2916f47d00c1573797c1a13

      SHA1

      230ab5559e806574d26b4c20847c368ed55483b0

      SHA256

      c066aee7aa3aa83f763ebc5541daa266ed6c648fbffcde0d836a13b221bb2adc

      SHA512

      f96cf9e1890746b12daf839a6d0f16f062b72c1b8a40439f96583f242980f10f867720232a6fa0f7d4d7ac0a7a6143981a5a130d6417ea98b181447134c7cfe2

    • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\firefoxx.exe

      Filesize

      2.6MB

      MD5

      0dc79297559b6ff6a2db2870c4de1313

      SHA1

      ed43611311d5a94ce56a5fff8e45a8ac437fbf12

      SHA256

      16fcaf343d6c5ec3c546339a522c47b7e44f0684ff50a7acf49d8439e2956a93

      SHA512

      c3afb996357edb3c6d006476768a3354d629eb29ff345d64098369cad19753a50a7eefe28fc53e8f4841cc7a006b2fa43cb906a65852cab91525c2be1a161a1b

    • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\firefoxx.exe

      Filesize

      2.6MB

      MD5

      0dc79297559b6ff6a2db2870c4de1313

      SHA1

      ed43611311d5a94ce56a5fff8e45a8ac437fbf12

      SHA256

      16fcaf343d6c5ec3c546339a522c47b7e44f0684ff50a7acf49d8439e2956a93

      SHA512

      c3afb996357edb3c6d006476768a3354d629eb29ff345d64098369cad19753a50a7eefe28fc53e8f4841cc7a006b2fa43cb906a65852cab91525c2be1a161a1b

    • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\firefoxx.exe

      Filesize

      2.6MB

      MD5

      0dc79297559b6ff6a2db2870c4de1313

      SHA1

      ed43611311d5a94ce56a5fff8e45a8ac437fbf12

      SHA256

      16fcaf343d6c5ec3c546339a522c47b7e44f0684ff50a7acf49d8439e2956a93

      SHA512

      c3afb996357edb3c6d006476768a3354d629eb29ff345d64098369cad19753a50a7eefe28fc53e8f4841cc7a006b2fa43cb906a65852cab91525c2be1a161a1b

    • memory/456-161-0x0000000000000000-mapping.dmp

    • memory/608-189-0x0000000000400000-0x000000000044C000-memory.dmp

      Filesize

      304KB

    • memory/608-191-0x0000000005360000-0x00000000053FC000-memory.dmp

      Filesize

      624KB

    • memory/608-188-0x0000000000000000-mapping.dmp

    • memory/608-193-0x0000000005FE0000-0x0000000006046000-memory.dmp

      Filesize

      408KB

    • memory/728-158-0x0000000000000000-mapping.dmp

    • memory/748-149-0x0000000000400000-0x00000000004B6000-memory.dmp

      Filesize

      728KB

    • memory/748-146-0x0000000000400000-0x00000000004B6000-memory.dmp

      Filesize

      728KB

    • memory/748-133-0x0000000000000000-mapping.dmp

    • memory/748-148-0x0000000000400000-0x00000000004B6000-memory.dmp

      Filesize

      728KB

    • memory/748-155-0x0000000000400000-0x00000000004B6000-memory.dmp

      Filesize

      728KB

    • memory/748-153-0x0000000000400000-0x00000000004B6000-memory.dmp

      Filesize

      728KB

    • memory/748-152-0x0000000000400000-0x00000000004B6000-memory.dmp

      Filesize

      728KB

    • memory/748-134-0x0000000000400000-0x00000000004B6000-memory.dmp

      Filesize

      728KB

    • memory/748-144-0x0000000000400000-0x00000000004B6000-memory.dmp

      Filesize

      728KB

    • memory/1552-159-0x0000000000000000-mapping.dmp

    • memory/2332-156-0x0000000000000000-mapping.dmp

    • memory/2360-162-0x0000000000000000-mapping.dmp

    • memory/2712-130-0x0000000000C30000-0x0000000000ED6000-memory.dmp

      Filesize

      2.6MB

    • memory/2712-131-0x0000000005D00000-0x00000000062A4000-memory.dmp

      Filesize

      5.6MB

    • memory/2712-132-0x00000000059A0000-0x0000000005A32000-memory.dmp

      Filesize

      584KB

    • memory/3216-192-0x0000000000000000-mapping.dmp

    • memory/3264-165-0x0000000000000000-mapping.dmp

    • memory/4472-157-0x0000000000000000-mapping.dmp