Analysis

  • max time kernel
    143s
  • max time network
    130s
  • 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 17:45

General

  • Target

    2025-02-03_47ed08a16022179f606ebc1e85a106a2_mafia.exe

  • Size

    11.5MB

  • MD5

    47ed08a16022179f606ebc1e85a106a2

  • SHA1

    ef06e1bfdf17852a217860366ebea4250d5d5b10

  • SHA256

    4a6a65e02edd13135e496081f0b9807ef98b1dfef11aee8d0d7105899edfa626

  • SHA512

    09e07353cef3bf3384818c7db41dc1cb32e59b191c1d5be39b62bfa44f3e70aadf6076edf75bd0f884dcc6b23d8705b2633d889e674e9fd78dfe20b7b5d04d4e

  • SSDEEP

    3072:mLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/i:POMdRQr7OB0ypmMXnl8XEPM3noSWOCb

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_47ed08a16022179f606ebc1e85a106a2_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-03_47ed08a16022179f606ebc1e85a106a2_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4216
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\itecfssz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2888
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\keevgpgi.exe" C:\Windows\SysWOW64\itecfssz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:468
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create itecfssz binPath= "C:\Windows\SysWOW64\itecfssz\keevgpgi.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-03_47ed08a16022179f606ebc1e85a106a2_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4920
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description itecfssz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1996
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start itecfssz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3968
    • 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:2452
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4216 -s 1188
      2⤵
      • Program crash
      PID:2624
  • C:\Windows\SysWOW64\itecfssz\keevgpgi.exe
    C:\Windows\SysWOW64\itecfssz\keevgpgi.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-03_47ed08a16022179f606ebc1e85a106a2_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3984
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1912
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3984 -s 512
      2⤵
      • Program crash
      PID:3656
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 4216 -ip 4216
    1⤵
      PID:1000
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 3984 -ip 3984
      1⤵
        PID:5060

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.8MB

        MD5

        d4364d05e95824b67db490a8d95f9fdd

        SHA1

        ef331c4235f32556a897c8b88f147358b968cccc

        SHA256

        abadc617e8a448d3c4c6a6137202bb4fdbaae647610b36c9abbfa91aab40239d

        SHA512

        8f12bb9a3d3eb20b63946eb2a34fd3d6542383bd1ed85744f71b7945a88f559c6a15fd6cdc2483a3bec7edf96374f5bfadd2cdcd00b4937997facb12865ca830

      • memory/1912-14-0x0000000000BD0000-0x0000000000BE5000-memory.dmp

        Filesize

        84KB

      • memory/1912-17-0x0000000000BD0000-0x0000000000BE5000-memory.dmp

        Filesize

        84KB

      • memory/1912-16-0x0000000000BD0000-0x0000000000BE5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        84KB

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

        Filesize

        312KB

      • memory/4216-1-0x0000000000680000-0x0000000000780000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        76KB