Analysis

  • max time kernel
    150s
  • max time network
    135s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20250129-en
  • resource tags

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

General

  • Target

    2025-02-03_e107b01518097c61cc74ebbe56304cd8_mafia.exe

  • Size

    10.9MB

  • MD5

    e107b01518097c61cc74ebbe56304cd8

  • SHA1

    b333ed2e73ae4ce6b52172156c1839fd6f8e3056

  • SHA256

    dab46ddfc67216319169772e99077e0adfced282d812bda13627603c267c6bed

  • SHA512

    38a1a06069edb4910476cde23d1de9f36a56d94b3ead3c0e9c12efda72bb63486b35112b84757bf358f61d31ac832b0dae07e5b7ed0497870f07f960aa7112ba

  • SSDEEP

    24576:TpomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttn:Voo1

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_e107b01518097c61cc74ebbe56304cd8_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-03_e107b01518097c61cc74ebbe56304cd8_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3856
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xysovewp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2200
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bbcnijhp.exe" C:\Windows\SysWOW64\xysovewp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2164
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xysovewp binPath= "C:\Windows\SysWOW64\xysovewp\bbcnijhp.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-03_e107b01518097c61cc74ebbe56304cd8_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2188
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xysovewp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4024
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xysovewp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1964
    • 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:2288
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3856 -s 1028
      2⤵
      • Program crash
      PID:4432
  • C:\Windows\SysWOW64\xysovewp\bbcnijhp.exe
    C:\Windows\SysWOW64\xysovewp\bbcnijhp.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-03_e107b01518097c61cc74ebbe56304cd8_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4628
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3272
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4628 -s 512
      2⤵
      • Program crash
      PID:1668
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 3856 -ip 3856
    1⤵
      PID:3704
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 4628 -ip 4628
      1⤵
        PID:2440

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.0MB

        MD5

        b751d2a2d98c3d74c5bbc407261c7779

        SHA1

        411d5086750bea6e4bca027a0b123b37545ec31b

        SHA256

        1fdeb8d9ee7d1b791770ebe34380332d58946ee256d776576ab994d528ddcf71

        SHA512

        ea8cc36a128e6f9841322ee4ad4b316ea6283eb7203a65d6e597258e8bc99b31af55c8ec4f894dc159bf4ea583845c2a551d4003956695e2a611e98441432107

      • memory/3272-14-0x00000000009A0000-0x00000000009B5000-memory.dmp

        Filesize

        84KB

      • memory/3272-16-0x00000000009A0000-0x00000000009B5000-memory.dmp

        Filesize

        84KB

      • memory/3272-17-0x00000000009A0000-0x00000000009B5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3856-2-0x00000000004A0000-0x00000000004B3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3856-8-0x00000000004A0000-0x00000000004B3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

      • memory/3856-1-0x00000000004E0000-0x00000000005E0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB