Analysis

  • max time kernel
    149s
  • max time network
    146s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    05/12/2024, 01:40

General

  • Target
    2024-12-05_57fdfc179433a2f43be61b514e8aa774_mafia_magniber.exe
  • Size 1.7MB
  • Sample241205-b3t1ts1rcv
  • SHA256 3da21199386d63f21b5e20c31f0be0bb1691df3d420a2cd41dfc73cdc8e3a2ea
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • latentbot

C2
  • 0lalalalaal.zapto.org

Signatures

  • LatentBot

    Modular trojan written in Delphi which has been in-the-wild since 2013.

  • Latentbot family
  • Modifies firewall policy service 3 TTPs 10 IoCs
  • Adds policy Run key to start application 2 TTPs 2 IoCs
  • Boot or Logon Autostart Execution: Active Setup 2 TTPs 4 IoCs

    Adversaries may achieve persistence by adding a Registry key to the Active Setup of the local machine.

  • Executes dropped EXE 2 IoCs
  • Adds Run key to start application 2 TTPs 2 IoCs
  • Suspicious use of SetThreadContext 2 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 12 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Modifies registry key 1 TTPs 4 IoCs
  • Suspicious behavior: RenamesItself 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 35 IoCs
  • Suspicious use of SetWindowsHookEx 5 IoCs
  • Suspicious use of WriteProcessMemory 43 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2024-12-05_57fdfc179433a2f43be61b514e8aa774_mafia_magniber.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-12-05_57fdfc179433a2f43be61b514e8aa774_mafia_magniber.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4288
    • C:\Users\Admin\AppData\Local\Temp\2024-12-05_57fdfc179433a2f43be61b514e8aa774_mafia_magniber.exe
      "C:\Users\Admin\AppData\Local\Temp\2024-12-05_57fdfc179433a2f43be61b514e8aa774_mafia_magniber.exe"
      2⤵
      • Adds policy Run key to start application
      • Boot or Logon Autostart Execution: Active Setup
      • Adds Run key to start application
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: RenamesItself
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      • Suspicious use of WriteProcessMemory
      PID:1664
      • C:\Users\Admin\AppData\Local\Temp\6A02ZUNLB.exe
        C:\Users\Admin\AppData\Local\Temp\6A02ZUNLB.exe
        3⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • System Location Discovery: System Language Discovery
        • Suspicious use of WriteProcessMemory
        PID:3716
        • C:\Users\Admin\AppData\Local\Temp\6A02ZUNLB.exe
          "C:\Users\Admin\AppData\Local\Temp\6A02ZUNLB.exe"
          4⤵
          • Executes dropped EXE
          • System Location Discovery: System Language Discovery
          • Suspicious use of SetWindowsHookEx
          PID:2360
      • C:\Windows\SysWOW64\cmd.exe
        cmd /c REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile /v "DoNotAllowExceptions" /t REG_DWORD /d "0" /f
        3⤵
        • System Location Discovery: System Language Discovery
        • Suspicious use of WriteProcessMemory
        PID:3196
        • C:\Windows\SysWOW64\reg.exe
          REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile /v "DoNotAllowExceptions" /t REG_DWORD /d "0" /f
          4⤵
          • Modifies firewall policy service
          • System Location Discovery: System Language Discovery
          • Modifies registry key
          PID:2364
      • C:\Windows\SysWOW64\cmd.exe
        cmd /c REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List /v "C:\Users\Admin\AppData\Local\Temp\2024-12-05_57fdfc179433a2f43be61b514e8aa774_mafia_magniber.exe" /t REG_SZ /d "C:\Users\Admin\AppData\Local\Temp\2024-12-05_57fdfc179433a2f43be61b514e8aa774_mafia_magniber.exe:*:Enabled:Windows Messanger" /f
        3⤵
        • System Location Discovery: System Language Discovery
        • Suspicious use of WriteProcessMemory
        PID:1640
        • C:\Windows\SysWOW64\reg.exe
          REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List /v "C:\Users\Admin\AppData\Local\Temp\2024-12-05_57fdfc179433a2f43be61b514e8aa774_mafia_magniber.exe" /t REG_SZ /d "C:\Users\Admin\AppData\Local\Temp\2024-12-05_57fdfc179433a2f43be61b514e8aa774_mafia_magniber.exe:*:Enabled:Windows Messanger" /f
          4⤵
          • Modifies firewall policy service
          • System Location Discovery: System Language Discovery
          • Modifies registry key
          PID:1968
      • C:\Windows\SysWOW64\cmd.exe
        cmd /c REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile /v "DoNotAllowExceptions" /t REG_DWORD /d "0" /f
        3⤵
        • System Location Discovery: System Language Discovery
        • Suspicious use of WriteProcessMemory
        PID:1604
        • C:\Windows\SysWOW64\reg.exe
          REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile /v "DoNotAllowExceptions" /t REG_DWORD /d "0" /f
          4⤵
          • Modifies firewall policy service
          • System Location Discovery: System Language Discovery
          • Modifies registry key
          PID:2180
      • C:\Windows\SysWOW64\cmd.exe
        cmd /c REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List /v "C:\Users\Admin\AppData\Roaming\first.exe" /t REG_SZ /d "C:\Users\Admin\AppData\Roaming\first.exe:*:Enabled:Windows Messanger" /f
        3⤵
        • System Location Discovery: System Language Discovery
        • Suspicious use of WriteProcessMemory
        PID:3096
        • C:\Windows\SysWOW64\reg.exe
          REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List /v "C:\Users\Admin\AppData\Roaming\first.exe" /t REG_SZ /d "C:\Users\Admin\AppData\Roaming\first.exe:*:Enabled:Windows Messanger" /f
          4⤵
          • Modifies firewall policy service
          • System Location Discovery: System Language Discovery
          • Modifies registry key
          PID:3024

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        6A02ZUNLB.exe

        • Path C:\Users\Admin\AppData\Local\Temp\6A02ZUNLB.exe
        • Size 589KB
        • SHA256 6b75aa089d18a934a64050623e87f56923712727327ec4536aeec0c80be5b0df
        • MD5 SHA1 SHA512 SSDEEP

        first.exe

        • Path C:\Users\Admin\AppData\Roaming\first.exe
        • Size 1.7MB
        • SHA256 dc9e2ac5e3fa2c3230e3d1f957924bae48420803b68941b0c6165dba9a3bdecf
        • MD5 SHA1 SHA512 SSDEEP

        memory/1664-33-0x0000000000400000-0x0000000000471000-memory.dmp

        memory/1664-29-0x0000000000400000-0x0000000000471000-memory.dmp

        memory/1664-41-0x0000000000400000-0x0000000000471000-memory.dmp

        memory/1664-23-0x0000000000400000-0x0000000000471000-memory.dmp

        memory/1664-25-0x0000000000400000-0x0000000000471000-memory.dmp

        memory/1664-27-0x0000000000400000-0x0000000000471000-memory.dmp

        memory/1664-28-0x0000000000400000-0x0000000000471000-memory.dmp

        memory/1664-2-0x0000000000400000-0x0000000000471000-memory.dmp

        memory/1664-31-0x0000000000400000-0x0000000000471000-memory.dmp

        memory/1664-32-0x0000000000400000-0x0000000000471000-memory.dmp

        memory/1664-0-0x0000000000400000-0x0000000000471000-memory.dmp

        memory/1664-34-0x0000000000400000-0x0000000000471000-memory.dmp

        memory/1664-36-0x0000000000400000-0x0000000000471000-memory.dmp

        memory/1664-37-0x0000000000400000-0x0000000000471000-memory.dmp

        memory/1664-40-0x0000000000400000-0x0000000000471000-memory.dmp

        memory/2360-22-0x0000000000400000-0x0000000000471000-memory.dmp