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
    20-06-2024 20:13

General

  • Target

    2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe

  • Size

    13.9MB

  • MD5

    dbe440eadee03dc056718f695dcb66e7

  • SHA1

    4cb4b7dd184cb3ab34daa57cb3706e0cc4fa75cf

  • SHA256

    5261edddfdea12841188800723f12edbd0e0b9d021855827ded935c29c0f36e1

  • SHA512

    24cbc6e40447b2964bed072a4f4f60f9024cdada6a68200ea141c761963d694d5c58e5edc4b9aafa18c3ff4aa0353a2954a3954c2a5ea96a1038f234f65a45fd

  • SSDEEP

    6144:d+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:d+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-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4616
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\chwafsnp\
      2⤵
        PID:3056
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pnuqpywn.exe" C:\Windows\SysWOW64\chwafsnp\
        2⤵
          PID:1936
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create chwafsnp binPath= "C:\Windows\SysWOW64\chwafsnp\pnuqpywn.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3428
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description chwafsnp "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2072
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start chwafsnp
          2⤵
          • Launches sc.exe
          PID:1136
        • 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:1992
      • C:\Windows\SysWOW64\chwafsnp\pnuqpywn.exe
        C:\Windows\SysWOW64\chwafsnp\pnuqpywn.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4612
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:4504

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.7MB

        MD5

        aac628c29c3464d00c07a0687dc784af

        SHA1

        3ecbdd85e573faec97362e0d79aa278bbdd316ba

        SHA256

        b6890ca4f036f3fc5642783714f57e6924a8d76a6876f99fa8d5d94630721429

        SHA512

        e7ae29409e395e2ede972e6b2d193f7bcdfda7540b5c6c9895bf80bb4840e4b9ca274eeb5d62719ea8b398bf110ca9fe1cab86e5c50f6b577836d2fe1bded87b

      • memory/4504-10-0x0000000000570000-0x0000000000585000-memory.dmp

        Filesize

        84KB

      • memory/4504-16-0x0000000000570000-0x0000000000585000-memory.dmp

        Filesize

        84KB

      • memory/4504-15-0x0000000000570000-0x0000000000585000-memory.dmp

        Filesize

        84KB

      • memory/4504-17-0x0000000000570000-0x0000000000585000-memory.dmp

        Filesize

        84KB

      • memory/4504-18-0x0000000000570000-0x0000000000585000-memory.dmp

        Filesize

        84KB

      • memory/4612-11-0x0000000000400000-0x000000000051A000-memory.dmp

        Filesize

        1.1MB

      • memory/4612-9-0x0000000000400000-0x000000000051A000-memory.dmp

        Filesize

        1.1MB

      • memory/4616-1-0x0000000000770000-0x0000000000870000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/4616-6-0x0000000000400000-0x000000000051A000-memory.dmp

        Filesize

        1.1MB

      • memory/4616-7-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB