Analysis

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

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24-06-2024 20:01

General

  • Target

    2024-06-24_6f86e85c1a23d9132a4f0c813c289e05_mafia.exe

  • Size

    14.6MB

  • MD5

    6f86e85c1a23d9132a4f0c813c289e05

  • SHA1

    31601c1159d7d8ba02c5967e8a740028620f4e7c

  • SHA256

    16a5c19b442c856703af88ab23dac3134063c95bff8f84fd1907fda513fa2c48

  • SHA512

    b4b23c0cd7f650d82a5edb2606429bfca943041150634479565265f3f06dd5e71e1bad86622b3821506f7d1723a098d7166220d61bc21d1a7a85bb3cec19fe64

  • SSDEEP

    6144:A+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:A+r1IeSXMXc7LlxWV4Ug97GZ+ej

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.

  • 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.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2024-06-24_6f86e85c1a23d9132a4f0c813c289e05_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-06-24_6f86e85c1a23d9132a4f0c813c289e05_mafia.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:5112
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dxfbhcw\
      2⤵
        PID:2664
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\poawblvi.exe" C:\Windows\SysWOW64\dxfbhcw\
        2⤵
          PID:228
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create dxfbhcw binPath= "C:\Windows\SysWOW64\dxfbhcw\poawblvi.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-06-24_6f86e85c1a23d9132a4f0c813c289e05_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:8
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description dxfbhcw "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2332
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start dxfbhcw
          2⤵
          • Launches sc.exe
          PID:3108
        • 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
          PID:3648
      • C:\Windows\SysWOW64\dxfbhcw\poawblvi.exe
        C:\Windows\SysWOW64\dxfbhcw\poawblvi.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-06-24_6f86e85c1a23d9132a4f0c813c289e05_mafia.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1472
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:3296

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\poawblvi.exe
        Filesize

        14.1MB

        MD5

        6953d848a4342524479f353605bb5322

        SHA1

        1beb325c595c66d3a95077c5d156fad45183afec

        SHA256

        15e9814e21870553fbbf2a9492c4f805a1a9b152c5aaf391dda19e24295356ac

        SHA512

        e74ac105628cd7c128309c2c5425b815fb02b3b2ff1e3ea930a10eec1105cd6723176949aa825ef30493bafc6a3472cbe56a9faecb67cbbe6862f88ed355435c

      • memory/1472-9-0x0000000000400000-0x000000000051A000-memory.dmp
        Filesize

        1.1MB

      • memory/1472-14-0x0000000000400000-0x000000000051A000-memory.dmp
        Filesize

        1.1MB

      • memory/3296-10-0x0000000000610000-0x0000000000625000-memory.dmp
        Filesize

        84KB

      • memory/3296-13-0x0000000000610000-0x0000000000625000-memory.dmp
        Filesize

        84KB

      • memory/3296-15-0x0000000000610000-0x0000000000625000-memory.dmp
        Filesize

        84KB

      • memory/5112-2-0x0000000000400000-0x0000000000415000-memory.dmp
        Filesize

        84KB

      • memory/5112-1-0x0000000000670000-0x0000000000770000-memory.dmp
        Filesize

        1024KB

      • memory/5112-7-0x0000000000400000-0x0000000000415000-memory.dmp
        Filesize

        84KB

      • memory/5112-6-0x0000000000400000-0x000000000051A000-memory.dmp
        Filesize

        1.1MB