Analysis

  • max time kernel
    145s
  • 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
    22-01-2025 20:11

General

  • Target

    2025-01-22_e83dacde4087c1e3cc20420b916fb7a5_mafia.exe

  • Size

    14.2MB

  • MD5

    e83dacde4087c1e3cc20420b916fb7a5

  • SHA1

    a3e119abfd69da39b608ac206cd773640cdf5481

  • SHA256

    903eb85acd8c2d8c86313f158831da95ccc56c473a06c4ec5e5bdb76a9f29cd8

  • SHA512

    bbe5b2f1227efaaf53006e9ea399bf5e4313a87c99fa5a37eb092e94e8b7ff71fb047047e25b8348d1b6ffd1a3e06a53dd8c70eb15750f118cfce10d3003a28b

  • SSDEEP

    24576:lEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZN:ufot

Malware Config

Extracted

Family

tofsee

C2

43.231.4.7

lazystax.ru

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Tofsee family
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

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

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • Program crash 2 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

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

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2025-01-22_e83dacde4087c1e3cc20420b916fb7a5_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-22_e83dacde4087c1e3cc20420b916fb7a5_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:748
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\prsnyrrd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2256
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xagapalr.exe" C:\Windows\SysWOW64\prsnyrrd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4844
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create prsnyrrd binPath= "C:\Windows\SysWOW64\prsnyrrd\xagapalr.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-22_e83dacde4087c1e3cc20420b916fb7a5_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3192
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description prsnyrrd "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5024
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start prsnyrrd
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2816
    • C:\Windows\SysWOW64\netsh.exe
      "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
      2⤵
      • Modifies Windows Firewall
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:4880
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 748 -s 888
      2⤵
      • Program crash
      PID:1920
  • C:\Windows\SysWOW64\prsnyrrd\xagapalr.exe
    C:\Windows\SysWOW64\prsnyrrd\xagapalr.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-22_e83dacde4087c1e3cc20420b916fb7a5_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1636
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4068
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1636 -s 508
      2⤵
      • Program crash
      PID:1236
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 748 -ip 748
    1⤵
      PID:1848
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 1636 -ip 1636
      1⤵
        PID:1496

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.6MB

        MD5

        7574adc2062fd2ff323c9c42831b353a

        SHA1

        7dd99ee1fbf4dbe6134ce9d5186f47a855448062

        SHA256

        3fee8815070cf83f50ac287097d62423cb5079b9cbf6f4833323f74f26579d34

        SHA512

        ca8ec50950d34348034c3298aa6367252a6e481b8e3908aed73d861815eed7a4575a025ca749f3c803eb584bbb48ce0c1071d42733c4aa186254f5b34e2b158d

      • memory/748-8-0x0000000000530000-0x0000000000543000-memory.dmp

        Filesize

        76KB

      • memory/748-3-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/748-2-0x0000000000530000-0x0000000000543000-memory.dmp

        Filesize

        76KB

      • memory/748-7-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/748-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/748-1-0x0000000000560000-0x0000000000660000-memory.dmp

        Filesize

        1024KB

      • memory/1636-12-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/1636-11-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/1636-13-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/1636-18-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/4068-14-0x0000000000570000-0x0000000000585000-memory.dmp

        Filesize

        84KB

      • memory/4068-16-0x0000000000570000-0x0000000000585000-memory.dmp

        Filesize

        84KB

      • memory/4068-17-0x0000000000570000-0x0000000000585000-memory.dmp

        Filesize

        84KB