Analysis

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

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    16-04-2024 15:42

General

  • Target

    f3cc40d0eeb5bc12926970e04a727ee5_JaffaCakes118.exe

  • Size

    14.9MB

  • MD5

    f3cc40d0eeb5bc12926970e04a727ee5

  • SHA1

    00a858fd157c5a5d663ab170bdfabb99088b0568

  • SHA256

    e5badbae1af7bd777e66282cf56e38e6a5bc75063f5b9342b4bd6571836cea63

  • SHA512

    78d2876fa7ccf822ac4cfdb8e42e0c6b4b5e4b3a344c1337d05d0e86d849a9392e541bc45aa95fcae0d6fd84383460efbcd60612a5a4e87748aecd0e0b5d8840

  • SSDEEP

    49152:r8KGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGy:r8

Malware Config

Extracted

Family

tofsee

C2

43.231.4.6

lazystax.ru

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\f3cc40d0eeb5bc12926970e04a727ee5_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f3cc40d0eeb5bc12926970e04a727ee5_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4136
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\osyxmwzc\
      2⤵
        PID:2340
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gvzdtgxx.exe" C:\Windows\SysWOW64\osyxmwzc\
        2⤵
          PID:3324
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create osyxmwzc binPath= "C:\Windows\SysWOW64\osyxmwzc\gvzdtgxx.exe /d\"C:\Users\Admin\AppData\Local\Temp\f3cc40d0eeb5bc12926970e04a727ee5_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1496
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description osyxmwzc "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2844
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start osyxmwzc
          2⤵
          • Launches sc.exe
          PID:1048
        • 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:2804
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4136 -s 1192
          2⤵
          • Program crash
          PID:3488
      • C:\Windows\SysWOW64\osyxmwzc\gvzdtgxx.exe
        C:\Windows\SysWOW64\osyxmwzc\gvzdtgxx.exe /d"C:\Users\Admin\AppData\Local\Temp\f3cc40d0eeb5bc12926970e04a727ee5_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2820
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:1268
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2820 -s 516
          2⤵
          • Program crash
          PID:1928
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 4136 -ip 4136
        1⤵
          PID:3908
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 376 -p 2820 -ip 2820
          1⤵
            PID:2916

          Network

          MITRE ATT&CK Matrix ATT&CK v13

          Persistence

          Create or Modify System Process

          2
          T1543

          Windows Service

          2
          T1543.003

          Boot or Logon Autostart Execution

          1
          T1547

          Registry Run Keys / Startup Folder

          1
          T1547.001

          Privilege Escalation

          Create or Modify System Process

          2
          T1543

          Windows Service

          2
          T1543.003

          Boot or Logon Autostart Execution

          1
          T1547

          Registry Run Keys / Startup Folder

          1
          T1547.001

          Defense Evasion

          Impair Defenses

          1
          T1562

          Disable or Modify System Firewall

          1
          T1562.004

          Modify Registry

          1
          T1112

          Discovery

          Query Registry

          1
          T1012

          System Information Discovery

          2
          T1082

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            12.4MB

            MD5

            2b0a78d4177691ad17311fa9f64f4305

            SHA1

            5f4c61dacf436b8e93ed273005b5e1c43ee90dc3

            SHA256

            af53aac6bb28d36648e1c511b31072cc3d31d5e7b1403509d7852230f6fef461

            SHA512

            e4b94f5311d603696e88d93152aa56ba3f13f4188e7868c284c76d49d0e71ce4c83b4803b93e1fe388ba839b85650c7e8f1d387a33a9e502e3adeb6df0b3b108

          • memory/1268-15-0x0000000000E00000-0x0000000000E15000-memory.dmp
            Filesize

            84KB

          • memory/1268-11-0x0000000000E00000-0x0000000000E15000-memory.dmp
            Filesize

            84KB

          • memory/1268-16-0x0000000000E00000-0x0000000000E15000-memory.dmp
            Filesize

            84KB

          • memory/1268-17-0x0000000000E00000-0x0000000000E15000-memory.dmp
            Filesize

            84KB

          • memory/1268-19-0x0000000000E00000-0x0000000000E15000-memory.dmp
            Filesize

            84KB

          • memory/2820-10-0x0000000000EB0000-0x0000000000FB0000-memory.dmp
            Filesize

            1024KB

          • memory/2820-12-0x0000000000400000-0x0000000000C14000-memory.dmp
            Filesize

            8.1MB

          • memory/2820-18-0x0000000000400000-0x0000000000C14000-memory.dmp
            Filesize

            8.1MB

          • memory/4136-4-0x0000000000400000-0x0000000000C14000-memory.dmp
            Filesize

            8.1MB

          • memory/4136-2-0x0000000000EC0000-0x0000000000ED3000-memory.dmp
            Filesize

            76KB

          • memory/4136-7-0x0000000000400000-0x0000000000C14000-memory.dmp
            Filesize

            8.1MB

          • memory/4136-8-0x0000000000EC0000-0x0000000000ED3000-memory.dmp
            Filesize

            76KB

          • memory/4136-1-0x0000000000F70000-0x0000000001070000-memory.dmp
            Filesize

            1024KB