Analysis

  • max time kernel
    150s
  • max time network
    151s
  • 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 11:27

General

  • Target

    f36423b40d7a0bbc75a9d05f0e324e72_JaffaCakes118.exe

  • Size

    13.2MB

  • MD5

    f36423b40d7a0bbc75a9d05f0e324e72

  • SHA1

    31f80e7d1cea645b288db9835c5e52b23fa103b2

  • SHA256

    e0e94c3fafd615c50c084cf4d72bb8f98495ad99ec2408289ae47322748120f7

  • SHA512

    fc6118271567c7697b09d7c0ef7acc50cd1867768fd06302533f96b83009c3f7f566813f20f555d628a9d2fc7c9756ca0115f32d534add97c8c66a03ed48b7a7

  • SSDEEP

    3072:Fdi8DS3tA2awlaR7/NDzFx2l0oHgBpMKwVTORO2j4UCtXGPjsjmw+V0+V0+V0+V+:a8DiApRRDzFxk0oHOpfws6Uprgp

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) 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
  • UPX packed file 1 IoCs

    Detects executables packed with UPX/modified UPX open source packer.

  • 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\f36423b40d7a0bbc75a9d05f0e324e72_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f36423b40d7a0bbc75a9d05f0e324e72_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2544
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hdehcfwe\
      2⤵
        PID:3024
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\omvwfbqm.exe" C:\Windows\SysWOW64\hdehcfwe\
        2⤵
          PID:4788
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create hdehcfwe binPath= "C:\Windows\SysWOW64\hdehcfwe\omvwfbqm.exe /d\"C:\Users\Admin\AppData\Local\Temp\f36423b40d7a0bbc75a9d05f0e324e72_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3260
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description hdehcfwe "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4748
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start hdehcfwe
          2⤵
          • Launches sc.exe
          PID:4244
        • 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:4876
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2544 -s 1156
          2⤵
          • Program crash
          PID:5108
      • C:\Windows\SysWOW64\hdehcfwe\omvwfbqm.exe
        C:\Windows\SysWOW64\hdehcfwe\omvwfbqm.exe /d"C:\Users\Admin\AppData\Local\Temp\f36423b40d7a0bbc75a9d05f0e324e72_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2972
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:672
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2972 -s 536
          2⤵
          • Program crash
          PID:2372
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 2544 -ip 2544
        1⤵
          PID:2128
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 500 -p 2972 -ip 2972
          1⤵
            PID:2280

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            15.0MB

            MD5

            8cd216cf4828a28c3929d952feb71c53

            SHA1

            23e53f0c5a09e4a24270c857bcd6300b9fc46b58

            SHA256

            3d3c98d46a9290db9f13056aa3d2b17ce1ab655a3ed911606078ad4fd40af6f7

            SHA512

            6541cfed769090edc90d00f5e8db95dffcf2e8cc493fecf1db84b3b5ad365dc818ca4e611d35d75bd61b0e25306055638a2535080f939495912cd64306bc4745

          • memory/672-8-0x0000000000610000-0x0000000000625000-memory.dmp

            Filesize

            84KB

          • memory/672-12-0x0000000000610000-0x0000000000625000-memory.dmp

            Filesize

            84KB

          • memory/672-15-0x0000000000610000-0x0000000000625000-memory.dmp

            Filesize

            84KB

          • memory/672-16-0x0000000000610000-0x0000000000625000-memory.dmp

            Filesize

            84KB

          • memory/672-17-0x0000000000610000-0x0000000000625000-memory.dmp

            Filesize

            84KB

          • memory/2544-1-0x0000000005360000-0x0000000005460000-memory.dmp

            Filesize

            1024KB

          • memory/2544-2-0x00000000051A0000-0x00000000051B3000-memory.dmp

            Filesize

            76KB

          • memory/2544-13-0x0000000000400000-0x0000000005169000-memory.dmp

            Filesize

            77.4MB

          • memory/2972-9-0x00000000052C0000-0x00000000052D3000-memory.dmp

            Filesize

            76KB

          • memory/2972-7-0x0000000005300000-0x0000000005400000-memory.dmp

            Filesize

            1024KB

          • memory/2972-14-0x0000000000400000-0x0000000005169000-memory.dmp

            Filesize

            77.4MB