Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    15-01-2025 19:04

General

  • Target

    2025-01-15_a4472f9906d22488791d8b513663ba12_mafia.exe

  • Size

    11.4MB

  • MD5

    a4472f9906d22488791d8b513663ba12

  • SHA1

    e49d5755dc9c6edeb25ee9198ca43f849a750bc0

  • SHA256

    eea5783e34bf11bf604738c01add12403b0d73c324f5b145add17f62c5c2991a

  • SHA512

    3ec1675be1c941f66a33a37de1be738f29ca608cd739d02036da25071177e1a45b73d3d76854929b6f90386211650b274099bbdda004c1d1f06250e52ef24716

  • SSDEEP

    6144:tLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQ:+TYe+D2jFu+iZoUFhAz

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-15_a4472f9906d22488791d8b513663ba12_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-15_a4472f9906d22488791d8b513663ba12_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3512
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zwjcyncn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4184
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ljstcynj.exe" C:\Windows\SysWOW64\zwjcyncn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2952
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create zwjcyncn binPath= "C:\Windows\SysWOW64\zwjcyncn\ljstcynj.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-15_a4472f9906d22488791d8b513663ba12_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4360
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description zwjcyncn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3600
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start zwjcyncn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4036
    • 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:4544
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3512 -s 1244
      2⤵
      • Program crash
      PID:3468
  • C:\Windows\SysWOW64\zwjcyncn\ljstcynj.exe
    C:\Windows\SysWOW64\zwjcyncn\ljstcynj.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-15_a4472f9906d22488791d8b513663ba12_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1128
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4812
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1128 -s 512
      2⤵
      • Program crash
      PID:4584
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 3512 -ip 3512
    1⤵
      PID:2384
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 1128 -ip 1128
      1⤵
        PID:4028

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.0MB

        MD5

        6fbeb0dec8552e3c51e44f4033ce6749

        SHA1

        144d56d69097b25d450f5c4cf94a7e7984671068

        SHA256

        c503acd42131f90051d5b678ec6b1240f34c890dae8068a51e9d83a3bd190527

        SHA512

        43a3b9051726b237d5a9f9f7b74fa0d4e0d4557543f034278f4d76bef989d607db71aca18399ec23a42f72ec1378ec5c8fe39a92910d92be20aa35e67b1abe4c

      • memory/1128-8-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/1128-15-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/1128-9-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/3512-16-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

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

        Filesize

        84KB

      • memory/3512-2-0x0000000000510000-0x0000000000523000-memory.dmp

        Filesize

        76KB

      • memory/3512-1-0x00000000005D0000-0x00000000006D0000-memory.dmp

        Filesize

        1024KB

      • memory/3512-18-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3512-17-0x0000000000510000-0x0000000000523000-memory.dmp

        Filesize

        76KB

      • memory/4812-10-0x00000000008A0000-0x00000000008B5000-memory.dmp

        Filesize

        84KB

      • memory/4812-13-0x00000000008A0000-0x00000000008B5000-memory.dmp

        Filesize

        84KB

      • memory/4812-19-0x00000000008A0000-0x00000000008B5000-memory.dmp

        Filesize

        84KB

      • memory/4812-20-0x00000000008A0000-0x00000000008B5000-memory.dmp

        Filesize

        84KB

      • memory/4812-21-0x00000000008A0000-0x00000000008B5000-memory.dmp

        Filesize

        84KB