Analysis

  • max time kernel
    146s
  • max time network
    153s
  • 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 20:01

General

  • Target

    2025-01-13_f7e37203241990cb2daf5a06e0ac5b9c_mafia.exe

  • Size

    10.7MB

  • MD5

    f7e37203241990cb2daf5a06e0ac5b9c

  • SHA1

    5887dc7c0997f274dc130d29a1fbdff2191a958c

  • SHA256

    d322561afeb8e4953a33970d44b4d6df00479d61c6b8eed3cb6be8a7e7ef57e3

  • SHA512

    cc3d27268fbc85c1af01023f3e5071bd01c40235006af28f2eca524108d2099a8195726c820f9facfcf1d562d760a866917e1b53f9a3924bfb0555e6c5b716b4

  • SSDEEP

    6144:fLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQQ:ETYe+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_f7e37203241990cb2daf5a06e0ac5b9c_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-13_f7e37203241990cb2daf5a06e0ac5b9c_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4200
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\frzndkau\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:116
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\eefqlmks.exe" C:\Windows\SysWOW64\frzndkau\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3148
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create frzndkau binPath= "C:\Windows\SysWOW64\frzndkau\eefqlmks.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-13_f7e37203241990cb2daf5a06e0ac5b9c_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4928
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description frzndkau "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2184
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start frzndkau
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:656
    • 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:2780
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4200 -s 1184
      2⤵
      • Program crash
      PID:4412
  • C:\Windows\SysWOW64\frzndkau\eefqlmks.exe
    C:\Windows\SysWOW64\frzndkau\eefqlmks.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-13_f7e37203241990cb2daf5a06e0ac5b9c_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2628
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2596
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2628 -s 512
      2⤵
      • Program crash
      PID:2036
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 4200 -ip 4200
    1⤵
      PID:4092
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 528 -p 2628 -ip 2628
      1⤵
        PID:5112

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.6MB

        MD5

        cd57c05ad8a063d2ee5093c556419ce9

        SHA1

        af591dfce6d7818a5acf2fe7038d2e219e078a53

        SHA256

        d7edc788cb8acee74cb0d79fe1fcc46884a028c2acf77417a51fc6d5fdc9eb00

        SHA512

        12ab4a6cd306b15a1df02638ca87e47bb6f33ae039979e81257ea15d780881a620aa9b238a4df4051cf15db884932fb9687a78a657ebd33f7a99efd2bb1223d2

      • memory/2596-14-0x00000000010A0000-0x00000000010B5000-memory.dmp

        Filesize

        84KB

      • memory/2596-22-0x00000000010A0000-0x00000000010B5000-memory.dmp

        Filesize

        84KB

      • memory/2596-21-0x00000000010A0000-0x00000000010B5000-memory.dmp

        Filesize

        84KB

      • memory/2596-20-0x00000000010A0000-0x00000000010B5000-memory.dmp

        Filesize

        84KB

      • memory/2596-11-0x00000000010A0000-0x00000000010B5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        772KB

      • memory/2628-19-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

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

        Filesize

        772KB

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

        Filesize

        772KB

      • memory/4200-17-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4200-16-0x0000000000610000-0x0000000000623000-memory.dmp

        Filesize

        76KB

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

        Filesize

        772KB

      • memory/4200-1-0x0000000000510000-0x0000000000610000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/4200-2-0x0000000000610000-0x0000000000623000-memory.dmp

        Filesize

        76KB