Analysis

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

    arch:x64arch:x86image:win10v2004-20240611-enlocale:en-usos:windows10-2004-x64system
  • submitted
    16/06/2024, 01:01

General

  • Target
    #!~#0Pen_9898_P@$SW0rd~!!$/Setup.exe
  • Size 5.4MB
  • Sample240616-bdmkfswfmm
  • SHA256 4e775b5fafb4e6d89a4694f8694d2b8b540534bd4a52ff42f70095f1c929160e
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • stealc

rc4.plain

Extracted

Family
  • amadey

Version
  • 4.30

Botnet
  • ffb1b9

C2
  • http://proresupdate.com

Attributes
  • install_dir

    4bbb72a446

  • install_file

    Hkbsse.exe

  • strings_key

    1ebbd218121948a356341fff55521237

  • url_paths

    /h9fmdW5/index.php

rc4.plain

Signatures

  • Amadey

    Amadey bot is a simple trojan bot primarily used for collecting reconnaissance information.

  • Detect Vidar Stealer 6 IoCs
  • Stealc

    Stealc is an infostealer written in C++.

  • Vidar

    Vidar is an infostealer based on Arkei stealer.

  • xmrig

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

  • XMRig Miner payload 6 IoCs
  • Downloads MZ/PE file
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Executes dropped EXE 2 IoCs
  • Loads dropped DLL 3 IoCs
  • Reads data files stored by FTP clients 2 TTPs

    Tries to access configuration files associated with programs like FileZilla.

  • Reads user/profile data of local email clients 2 TTPs

    Email clients store some user data on disk where infostealers will often target it.

  • Reads user/profile data of web browsers 2 TTPs

    Infostealers often target stored browser data, which can include saved credentials etc.

  • UPX packed file 8 IoCs

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

  • Accesses cryptocurrency files/wallets, possible credential harvesting 2 TTPs
  • Checks installed software on the system 1 TTPs

    Looks up Uninstall key entries in the registry to enumerate software on the system.

  • Suspicious use of SetThreadContext 5 IoCs
  • Drops file in Windows directory 2 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Checks processor information in registry 2 TTPs 1 IoCs

    Processor information is often read in order to detect sandboxing environments.

  • Delays execution with timeout.exe 1 IoCs
  • Modifies system certificate store 2 TTPs 2 IoCs
  • Suspicious behavior: EnumeratesProcesses 17 IoCs
  • Suspicious behavior: MapViewOfSection 7 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of FindShellTrayWindow 1 IoCs
  • Suspicious use of WriteProcessMemory 44 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\#!~#0Pen_9898_P@$SW0rd~!!$\Setup.exe
    "C:\Users\Admin\AppData\Local\Temp\#!~#0Pen_9898_P@$SW0rd~!!$\Setup.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious behavior: MapViewOfSection
    • Suspicious use of WriteProcessMemory
    PID:4232
    • C:\Windows\SysWOW64\netsh.exe
      C:\Windows\SysWOW64\netsh.exe
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious behavior: MapViewOfSection
      • Suspicious use of WriteProcessMemory
      PID:2336
      • C:\Users\Admin\AppData\Local\Temp\coml.au3
        C:\Users\Admin\AppData\Local\Temp\coml.au3
        3⤵
        • Checks computer location settings
        • Loads dropped DLL
        • Checks processor information in registry
        • Modifies system certificate store
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of WriteProcessMemory
        PID:3192
        • C:\ProgramData\EGIDBFBFHJ.exe
          "C:\ProgramData\EGIDBFBFHJ.exe"
          4⤵
          • Executes dropped EXE
          • Suspicious use of SetThreadContext
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious behavior: MapViewOfSection
          • Suspicious use of WriteProcessMemory
          PID:1836
          • C:\Windows\SysWOW64\ftp.exe
            C:\Windows\SysWOW64\ftp.exe
            5⤵
            • Drops file in Windows directory
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious behavior: MapViewOfSection
            • Suspicious use of WriteProcessMemory
            PID:3228
            • C:\Windows\SysWOW64\explorer.exe
              C:\Windows\SysWOW64\explorer.exe
              6⤵
                PID:3736
          • C:\ProgramData\BGCBGCAFII.exe
            "C:\ProgramData\BGCBGCAFII.exe"
            4⤵
            • Executes dropped EXE
            • Suspicious use of SetThreadContext
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious behavior: MapViewOfSection
            • Suspicious use of WriteProcessMemory
            PID:3076
            • C:\Windows\SysWOW64\ftp.exe
              C:\Windows\SysWOW64\ftp.exe
              5⤵
              • Suspicious use of SetThreadContext
              • Drops file in Windows directory
              • Suspicious behavior: EnumeratesProcesses
              • Suspicious behavior: MapViewOfSection
              • Suspicious use of WriteProcessMemory
              PID:4880
              • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe
                C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe
                6⤵
                • Suspicious use of SetThreadContext
                • Suspicious behavior: EnumeratesProcesses
                • Suspicious use of AdjustPrivilegeToken
                • Suspicious use of WriteProcessMemory
                PID:1760
                • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen.exe
                  C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen.exe -a rx/0 --url=65.109.127.181:3333 -u PLAYA -p PLAYA -R --variant=-1 --max-cpu-usage=70 --donate-level=1 -opencl
                  7⤵
                  • Suspicious use of AdjustPrivilegeToken
                  • Suspicious use of FindShellTrayWindow
                  PID:5004
          • C:\Windows\SysWOW64\cmd.exe
            "C:\Windows\System32\cmd.exe" /c timeout /t 10 & rd /s /q "C:\ProgramData\EHDAAECAEBKJ" & exit
            4⤵
            • Suspicious use of WriteProcessMemory
            PID:3916
            • C:\Windows\SysWOW64\timeout.exe
              timeout /t 10
              5⤵
              • Delays execution with timeout.exe
              PID:1084

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          BGCBGCAFII.exe

          • Path C:\ProgramData\BGCBGCAFII.exe
          • Size 2.3MB
          • SHA256 5706c6f5421a6a34fdcb67e9c9e71283c8fc1c33499904519cbdc6a21e6b071c
          • MD5 SHA1 SHA512 SSDEEP

          EGIDBFBFHJ.exe

          • Path C:\ProgramData\EGIDBFBFHJ.exe
          • Size 8.6MB
          • SHA256 376e1802b979514ba0e9c73933a8c6a09dd3f1d2a289f420c2202e64503d08a7
          • MD5 SHA1 SHA512 SSDEEP

          VCRUNT~1.DLL

          • Path C:\ProgramData\EHDAAECAEBKJ\VCRUNT~1.DLL
          • Size 78KB
          • SHA256 8934aaeb65b6e6d253dfe72dea5d65856bd871e989d5d3a2a35edfe867bb4825
          • MD5 SHA1 SHA512 SSDEEP

          mozglue.dll

          • Path C:\ProgramData\EHDAAECAEBKJ\mozglue.dll
          • Size 593KB
          • SHA256 ba06a6ee0b15f5be5c4e67782eec8b521e36c107a329093ec400fe0404eb196a
          • MD5 SHA1 SHA512 SSDEEP

          msvcp140.dll

          • Path C:\ProgramData\EHDAAECAEBKJ\msvcp140.dll
          • Size 439KB
          • SHA256 5136a49a682ac8d7f1ce71b211de8688fce42ed57210af087a8e2dbc8a934062
          • MD5 SHA1 SHA512 SSDEEP

          nss3.dll

          • Path C:\ProgramData\EHDAAECAEBKJ\nss3.dll
          • Size 2.0MB
          • SHA256 ac5c92fe6c51cfa742e475215b83b3e11a4379820043263bf50d4068686c6fa5
          • MD5 SHA1 SHA512 SSDEEP

          softokn3.dll

          • Path C:\ProgramData\EHDAAECAEBKJ\softokn3.dll
          • Size 251KB
          • SHA256 74ebbac956e519e16923abdc5ab8912098a4f64e38ddcb2eae23969f306afe5a
          • MD5 SHA1 SHA512 SSDEEP

          53ab6bee

          • Path C:\Users\Admin\AppData\Local\Temp\53ab6bee
          • Size 1.1MB
          • SHA256 e2aaaa1a0431aab1616e2b612e9b68448107e6ce71333f9c0ec1763023b72b2a
          • MD5 SHA1 SHA512 SSDEEP

          53ccd62f

          • Path C:\Users\Admin\AppData\Local\Temp\53ccd62f
          • Size 951KB
          • SHA256 d8617477c800cc10f9b52e90b885117a27266831fb5033647b6b6bd6025380a8
          • MD5 SHA1 SHA512 SSDEEP

          5697194e

          • Path C:\Users\Admin\AppData\Local\Temp\5697194e
          • Size 1.1MB
          • SHA256 02f130708cc048226dbdc99df5ae202f5b14782c408977bda6101036e5034226
          • MD5 SHA1 SHA512 SSDEEP

          57abffb9

          • Path C:\Users\Admin\AppData\Local\Temp\57abffb9
          • Size 736KB
          • SHA256 16bfdd1daed4cdc96029b58df5ecf20635fe7057502359b50d2b944f1f544df4
          • MD5 SHA1 SHA512 SSDEEP

          9768ef4c

          • Path C:\Users\Admin\AppData\Local\Temp\9768ef4c
          • Size 6.8MB
          • SHA256 cb24ca53a694f48adad07b686dbd8e388db133d639b6c4d8d8cd8462c1c3c99a
          • MD5 SHA1 SHA512 SSDEEP

          coml.au3

          • Path C:\Users\Admin\AppData\Local\Temp\coml.au3
          • Size 872KB
          • SHA256 237d1bca6e056df5bb16a1216a434634109478f882d3b1d58344c801d184f95d
          • MD5 SHA1 SHA512 SSDEEP

          memory/1760-182-0x00007FFEAAA10000-0x00007FFEAC087000-memory.dmp

          memory/1760-186-0x0000000000400000-0x000000000040A000-memory.dmp

          memory/1836-146-0x00000000729D0000-0x0000000072B4B000-memory.dmp

          memory/1836-115-0x0000000000680000-0x0000000000B93000-memory.dmp

          memory/1836-139-0x00007FFEC9C90000-0x00007FFEC9E85000-memory.dmp

          memory/1836-136-0x00000000729D0000-0x0000000072B4B000-memory.dmp

          memory/2336-24-0x0000000074571000-0x000000007457F000-memory.dmp

          memory/2336-19-0x000000007457E000-0x0000000074580000-memory.dmp

          memory/2336-20-0x0000000074571000-0x000000007457F000-memory.dmp

          memory/2336-17-0x00007FFEC9C90000-0x00007FFEC9E85000-memory.dmp

          memory/3076-140-0x00007FFEC9C90000-0x00007FFEC9E85000-memory.dmp

          memory/3076-149-0x00000000729D0000-0x0000000072B4B000-memory.dmp

          memory/3076-127-0x0000000000AA0000-0x0000000000CE8000-memory.dmp

          memory/3076-138-0x00000000729D0000-0x0000000072B4B000-memory.dmp

          memory/3192-26-0x0000000001600000-0x0000000001D4B000-memory.dmp

          memory/3192-162-0x0000000001600000-0x0000000001D4B000-memory.dmp

          memory/3192-111-0x0000000001600000-0x0000000001D4B000-memory.dmp

          memory/3192-33-0x0000000061E00000-0x0000000061EF3000-memory.dmp

          memory/3192-144-0x0000000001600000-0x0000000001D4B000-memory.dmp

          memory/3192-29-0x0000000001600000-0x0000000001D4B000-memory.dmp

          memory/3192-28-0x00007FFEC9C90000-0x00007FFEC9E85000-memory.dmp

          memory/3192-145-0x0000000001600000-0x0000000001D4B000-memory.dmp

          memory/3228-178-0x00000000729D0000-0x0000000072B4B000-memory.dmp

          memory/3228-152-0x00007FFEC9C90000-0x00007FFEC9E85000-memory.dmp

          memory/3736-202-0x0000000000180000-0x00000000001F1000-memory.dmp

          memory/3736-200-0x0000000000180000-0x00000000001F1000-memory.dmp

          memory/3736-185-0x00007FFEC9C90000-0x00007FFEC9E85000-memory.dmp

          memory/4232-0-0x00007FFEAB360000-0x00007FFEAB4D2000-memory.dmp

          memory/4232-14-0x00007FFEAB360000-0x00007FFEAB4D2000-memory.dmp

          memory/4232-13-0x00007FFEAB360000-0x00007FFEAB4D2000-memory.dmp

          memory/4232-12-0x00007FFEAB378000-0x00007FFEAB379000-memory.dmp

          memory/4880-153-0x00007FFEC9C90000-0x00007FFEC9E85000-memory.dmp

          memory/4880-163-0x00000000729D0000-0x0000000072B4B000-memory.dmp

          memory/5004-194-0x000001CE77FF0000-0x000001CE78010000-memory.dmp

          memory/5004-192-0x0000000140000000-0x00000001407DC000-memory.dmp

          memory/5004-193-0x0000000140000000-0x00000001407DC000-memory.dmp

          memory/5004-197-0x0000000140000000-0x00000001407DC000-memory.dmp

          memory/5004-195-0x0000000140000000-0x00000001407DC000-memory.dmp

          memory/5004-196-0x0000000140000000-0x00000001407DC000-memory.dmp

          memory/5004-198-0x0000000140000000-0x00000001407DC000-memory.dmp

          memory/5004-199-0x0000000140000000-0x00000001407DC000-memory.dmp

          memory/5004-190-0x0000000140000000-0x00000001407DC000-memory.dmp