Analysis

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

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31-05-2024 04:11

General

  • Target

    85f05595c757c694136ceecaab4ef1a9_JaffaCakes118.exe

  • Size

    142KB

  • MD5

    85f05595c757c694136ceecaab4ef1a9

  • SHA1

    decc013e8aed5b4d1bd93880862eac3f76b7be64

  • SHA256

    989453998eb96a29b42a09855a8733715faa3cf4e9110e7e0377a703763a0bf0

  • SHA512

    d59f987761dbf1fe2d248ecfb179a8df306c1508f7264df2713350405fb329da7bbd8ba42611f336c5cc3a2dc54e74d0b3eafa84d20cb5ad44c9302fd275c748

  • SSDEEP

    3072:UO8/FLfgW6rzTkYfiL2+jKfgi4m5nuGFU6W6WNE6b3U:A94zwFLnKP46uC

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

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\85f05595c757c694136ceecaab4ef1a9_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\85f05595c757c694136ceecaab4ef1a9_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1944
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jdxocsdx\
      2⤵
        PID:2772
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\yaopdlnx.exe" C:\Windows\SysWOW64\jdxocsdx\
        2⤵
          PID:3544
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create jdxocsdx binPath= "C:\Windows\SysWOW64\jdxocsdx\yaopdlnx.exe /d\"C:\Users\Admin\AppData\Local\Temp\85f05595c757c694136ceecaab4ef1a9_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4760
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description jdxocsdx "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4896
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start jdxocsdx
          2⤵
          • Launches sc.exe
          PID:5080
        • 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:5084
      • C:\Windows\SysWOW64\jdxocsdx\yaopdlnx.exe
        C:\Windows\SysWOW64\jdxocsdx\yaopdlnx.exe /d"C:\Users\Admin\AppData\Local\Temp\85f05595c757c694136ceecaab4ef1a9_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2372
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:1436

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.6MB

        MD5

        774ca5bfc20e6cf6de94e02a6ade0855

        SHA1

        8304752519bc69dda7da4829c172e6451a05d31b

        SHA256

        5c018789c9217f7a0597a9e988b12fbe2d6cabb6fee851399c6311c6f82083d6

        SHA512

        d283e634c2332bcc5d26c41fff5baf198efde4c290f682e2e07733c975810f651df3e0fd4bd5f0440ba33d70285626cc7cd6abf90ed137558cf21546ae288a32

      • memory/1436-14-0x00000000012B0000-0x00000000012C5000-memory.dmp

        Filesize

        84KB

      • memory/1436-16-0x00000000012B0000-0x00000000012C5000-memory.dmp

        Filesize

        84KB

      • memory/1436-9-0x00000000012B0000-0x00000000012C5000-memory.dmp

        Filesize

        84KB

      • memory/1436-12-0x00000000012B0000-0x00000000012C5000-memory.dmp

        Filesize

        84KB

      • memory/1436-15-0x00000000012B0000-0x00000000012C5000-memory.dmp

        Filesize

        84KB

      • memory/1944-1-0x0000000000400000-0x0000000000426000-memory.dmp

        Filesize

        152KB

      • memory/1944-2-0x0000000000480000-0x0000000000481000-memory.dmp

        Filesize

        4KB

      • memory/1944-6-0x0000000000400000-0x0000000000426000-memory.dmp

        Filesize

        152KB

      • memory/1944-0-0x0000000000470000-0x0000000000471000-memory.dmp

        Filesize

        4KB

      • memory/2372-8-0x0000000000400000-0x0000000000426000-memory.dmp

        Filesize

        152KB

      • memory/2372-13-0x0000000000400000-0x0000000000426000-memory.dmp

        Filesize

        152KB

      • memory/2372-7-0x0000000000590000-0x0000000000591000-memory.dmp

        Filesize

        4KB