Analysis

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

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

General

  • Target

    2025-01-13_1129ae360d97b0e86ae5d7e2b0127e01_mafia.exe

  • Size

    11.7MB

  • MD5

    1129ae360d97b0e86ae5d7e2b0127e01

  • SHA1

    a1e0c7c02e015f03d998707adecefccf48e9268c

  • SHA256

    c327b4ad3c94238bed34499f211255b097a59d5cc7ac6f80f434144ca2e16898

  • SHA512

    035cc69448fda1a436c8f1591610f2e596a67411a6f88897df585d037d57590a18e9f8f0146b15c182d1a24bace2692fa19ca4d3a7708c57dbcda2489117d253

  • SSDEEP

    6144:wLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQQ:lTYe+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-13_1129ae360d97b0e86ae5d7e2b0127e01_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-13_1129ae360d97b0e86ae5d7e2b0127e01_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4408
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wvfgjvnn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1340
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qsntmzj.exe" C:\Windows\SysWOW64\wvfgjvnn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4256
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create wvfgjvnn binPath= "C:\Windows\SysWOW64\wvfgjvnn\qsntmzj.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-13_1129ae360d97b0e86ae5d7e2b0127e01_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2700
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description wvfgjvnn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:440
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start wvfgjvnn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2708
    • 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:2484
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4408 -s 680
      2⤵
      • Program crash
      PID:1852
  • C:\Windows\SysWOW64\wvfgjvnn\qsntmzj.exe
    C:\Windows\SysWOW64\wvfgjvnn\qsntmzj.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-13_1129ae360d97b0e86ae5d7e2b0127e01_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4792
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1748
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4792 -s 512
      2⤵
      • Program crash
      PID:2568
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4408 -ip 4408
    1⤵
      PID:4500
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 4792 -ip 4792
      1⤵
        PID:1868

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.5MB

        MD5

        f4526ff943543f92c07c80455096a7cf

        SHA1

        918a74c394b69310c9d06b2a51bb99e4d3b063fb

        SHA256

        83cb0f7dd78f3b37c548aff7b4e803eca0c5a40a80fd105357eb2b240ef931af

        SHA512

        4ecf48244494462fedb2253ba26daea78119da5aad844d6a3dd4ccb12c368be14d713441e157c72106d4e922149f99d2be45bcb4dde3971724ed8dd8e5776995

      • memory/1748-11-0x0000000000B20000-0x0000000000B35000-memory.dmp

        Filesize

        84KB

      • memory/1748-19-0x0000000000B20000-0x0000000000B35000-memory.dmp

        Filesize

        84KB

      • memory/1748-18-0x0000000000B20000-0x0000000000B35000-memory.dmp

        Filesize

        84KB

      • memory/4408-14-0x00000000006A0000-0x00000000006B3000-memory.dmp

        Filesize

        76KB

      • memory/4408-15-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4408-1-0x0000000000860000-0x0000000000960000-memory.dmp

        Filesize

        1024KB

      • memory/4408-13-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

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

        Filesize

        84KB

      • memory/4408-2-0x00000000006A0000-0x00000000006B3000-memory.dmp

        Filesize

        76KB

      • memory/4792-10-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

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

        Filesize

        772KB

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

        Filesize

        772KB

      • memory/4792-17-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB