Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    02/04/2024, 04:37

General

  • Target
    83d8280e972398709103e07acb5db531_JaffaCakes118.exe
  • Size 11.1MB
  • Sample240402-e88yqahd34
  • SHA256 0f2a790e1a03008ffcd468faa2ea0e0003b18f3e45189d25e835ca6fe5eb4417
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • defeatwax.ru

  • refabyd.info

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Creates new service(s) 1 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).

  • Program crash 2 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\83d8280e972398709103e07acb5db531_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\83d8280e972398709103e07acb5db531_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3560
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\indgcoxh\
      2⤵
        PID:4408
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\puqigjv.exe" C:\Windows\SysWOW64\indgcoxh\
        2⤵
          PID:5056
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create indgcoxh binPath= "C:\Windows\SysWOW64\indgcoxh\puqigjv.exe /d\"C:\Users\Admin\AppData\Local\Temp\83d8280e972398709103e07acb5db531_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3308
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description indgcoxh "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:528
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start indgcoxh
          2⤵
          • Launches sc.exe
          PID:4172
        • 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
          PID:3440
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3560 -s 1184
          2⤵
          • Program crash
          PID:2720
      • C:\Windows\SysWOW64\indgcoxh\puqigjv.exe
        C:\Windows\SysWOW64\indgcoxh\puqigjv.exe /d"C:\Users\Admin\AppData\Local\Temp\83d8280e972398709103e07acb5db531_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3464
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:4424
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3464 -s 512
          2⤵
          • Program crash
          PID:2800
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 3560 -ip 3560
        1⤵
          PID:4712
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 3464 -ip 3464
          1⤵
            PID:4112

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                puqigjv.exe

                • Path C:\Users\Admin\AppData\Local\Temp\puqigjv.exe
                • Size 14.3MB
                • SHA256 298d2ed0485649e6c305351ad14431867703fe755b61934912b7216c1d2b7cb9
                • MD5 SHA1 SHA512 SSDEEP

                memory/3464-10-0x0000000000530000-0x0000000000630000-memory.dmp

                memory/3464-11-0x0000000000400000-0x0000000000448000-memory.dmp

                memory/3464-17-0x0000000000400000-0x0000000000448000-memory.dmp

                memory/3560-3-0x0000000000400000-0x0000000000448000-memory.dmp

                memory/3560-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

                memory/3560-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

                memory/3560-8-0x0000000000400000-0x0000000000448000-memory.dmp

                memory/3560-1-0x0000000000750000-0x0000000000850000-memory.dmp

                memory/4424-12-0x0000000000770000-0x0000000000785000-memory.dmp

                memory/4424-15-0x0000000000770000-0x0000000000785000-memory.dmp

                memory/4424-16-0x0000000000770000-0x0000000000785000-memory.dmp

                memory/4424-18-0x0000000000770000-0x0000000000785000-memory.dmp

                memory/4424-19-0x0000000000770000-0x0000000000785000-memory.dmp