Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03-02-2025 03:00

General

  • Target

    2025-02-03_e19b3e72ff5b9157d1636509198fdfda_mafia.exe

  • Size

    12.6MB

  • MD5

    e19b3e72ff5b9157d1636509198fdfda

  • SHA1

    4a892bb3727ca87794aef9156e88c24cae2f82fb

  • SHA256

    83ea7631ee7a2647710983c83b0942c9ded55b4337ed635b3e5dd5f3ca2e01e2

  • SHA512

    f5504269aeede5e74418dc46beb09c0ea17eae481edac32ddd4c3d4e02824f44c6c2ad19aad1dedf5017652c94074818648a5d799e116a7252c3a88581ee9fd4

  • SSDEEP

    3072:lLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:IOMdRQr7OB0ypmMXnl8XEPM3noSWOC

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-02-03_e19b3e72ff5b9157d1636509198fdfda_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-03_e19b3e72ff5b9157d1636509198fdfda_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2388
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zequiijy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4772
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xcmhbnkm.exe" C:\Windows\SysWOW64\zequiijy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1516
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create zequiijy binPath= "C:\Windows\SysWOW64\zequiijy\xcmhbnkm.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-03_e19b3e72ff5b9157d1636509198fdfda_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3660
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description zequiijy "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1704
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start zequiijy
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1268
    • 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:3336
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2388 -s 892
      2⤵
      • Program crash
      PID:4884
  • C:\Windows\SysWOW64\zequiijy\xcmhbnkm.exe
    C:\Windows\SysWOW64\zequiijy\xcmhbnkm.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-03_e19b3e72ff5b9157d1636509198fdfda_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4180
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1832
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4180 -s 512
      2⤵
      • Program crash
      PID:4440
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 2388 -ip 2388
    1⤵
      PID:536
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 520 -p 4180 -ip 4180
      1⤵
        PID:1460

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.1MB

        MD5

        30d044d0cab8c0c7eb5c19c58bac9740

        SHA1

        05426d6cede1fea40c4d54a96d7ed6c805348d83

        SHA256

        5eb11641b7c2bb1eb3d302d6deb38347971b022d6311d40dad02a7b8b6f27ff0

        SHA512

        bebc6396a4788a2115f21a86909c3b75050b44514fdca80afaf2c69601bc906ddd5ef7ead1d7867ccc768583e1412789f9323d70153067622d1c4339f3914d16

      • memory/1832-14-0x0000000001250000-0x0000000001265000-memory.dmp

        Filesize

        84KB

      • memory/1832-17-0x0000000001250000-0x0000000001265000-memory.dmp

        Filesize

        84KB

      • memory/1832-16-0x0000000001250000-0x0000000001265000-memory.dmp

        Filesize

        84KB

      • memory/2388-8-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/2388-2-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/4180-19-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB