This Week In Security: Iran’s ITG18, ProcMon For Linux, And Garbage Collection Fail – Hackaday
Even top-tier security professionals make catastrophic mistakes, and this time it was the operators at Irans ITG18. Were once again talking about the strange shadowy world of state sponsored hacking. This story comes from the IBM X-Force Incident Response Intelligence Services (IRIS). I suspect a Deadpool fan must work at IBM, but thats beside the point.
A server suspected to be used by ITG18 was incorrectly configured, and when data and training videos were stored there, that data was publicly accessible. Among the captured data was records of compromised accounts belonging to US and Greek military personnel.
The training videos also contained a few interesting tidbits. If a targeted account used two factor authentication, the attacker was to make a note and give up on gaining access to that account. If a Google account was breached, the practice was to start with Google Takeout, the service from Google that allows downloading all the data Google has collected related to that account. Yoiks.
Weve covered many kernel level exploits in this column, but never have we covered a guide quite like the one just published by Secfault Security. They attempt to bridge the gap between being a developer and an exploit author, walking us through the process of building an actual working exploit PoC based on a Google Project Zero write-up.
Microsoft is continuing to develop their Linux presence, this time by re-engineering Process Monitor as ProcMon for Linux. A bit of history, Process Monitor is part of the Sysinternals suite, originally developed by [Bryce Cogswell] and [Mark Russinovich], founders of Winternals. Incidentally, they also broke the Sony BMG rootkit story, using sysinternals tools. Less than a year after that story broke, Winternals was acquired by Microsoft, and while [Cogswell] has moved on, [Russonovich] has stayed with Microsoft, and is now the CTO of Azure.
ProcMon is written in C++, and released under the MIT license. It keeps track of the system calls happening on machine in real time, giving a detailed look at the activity of the system. Its useful for security, debugging, and troubleshooting performance issues. All in all, its a really handy tool, and should be a useful part of the sysadmins toolbox. The source is available under an OSI approved license, so the various distros should pick up and package ProcMon before long.
Windows Server supports a couple of ways to run processes in containers: HyperV containers, and Windows Server Containers. Its fairly widely accepted that virtualization based containerization provides a more secure isolation. That is, if a virtualized container is compromised, is far more difficult for an attacker to migrate out and attack the host machine, as compared to a kernel based containerization.
The news is a new way to escape a Windows Server Container. While not encountered as often as on a Linux machine, Windows does support symbolic links. Reading through the deep dive also makes it clear how much modern Windows machines are becoming POSIX machines with a Windows compatibility layer on top. For example, the C: directory is actually a global symlink to DeviceHarddiskVolumeX.
If a containerized process could create a global symlink, AKA one that pointed to the root directory, then the container escape would be trivial. As expected, the container security controls dont allow the isolated processes to create such a symlink during runtime. That said, there is a particular function that can be abused to create the global symlink. The specific function parameters have yet to be disclosed, in order to make in-the-wild exploitation just a bit more difficult.
The story of a security audit on a website caught my eye this week, put together by [Maxwell Dulin]. The password reset form is the focus here, and it has a few problems. The first one is a common flaw: the password reset form verifies whether a given email address is in the system. Its not the worst flaw, but it does give an attacker information he can guess email addresses, and gets confirmation when there is an account with that address.
The next flaw is a subtle one, the contents of the password reset email are generated using the host sent in the HTTP request. That normally works as expected: A user goes to ourwebsite.com/reset, inputs their email address, and submits the form to generate a password reset request. They get an email with a link back to ourwebsite.com that allows the password reset. An attacker, however, can send a malicious HTTP request to the password reset form, using someone elses address, and manipulate the Host value. The reset email now points to the injected host. If the user clicks the link in the email, the magic value is sent to host specified by the attacker, who can then go reset the users password.
The last flaw [Maxwell] found was the worst of the bunch. The reset token is confirmed when the user first clicks the link sent via email, but it isnt confirmed when the password is actually updated. You could create your own account, go through the password reset process, and then change the password reset form to point at another users account. Because the back-end sees you as already authenticated, it dutifully sets the new password, even if the account specified isnt yours.
None of us will likely use the little website that this audit was performed on, but the steps described and problems to look for are a good guide for anyone needing doing the same.
CVE-20191367 is an older bug at this point, found being exploited in the wild in 2019, and given a full write-up by Confiant. Its yet another vulnerability in Internet Explorers jscript engine. For a very brief review, jscript.dll is the deprecated IE implementation of Javascript. Its no longer the default implementation, but can be requested by a web page for compatibility purposes. It appears that jscript.dll is only accessible in Internet Explorer, and neither iteration of Edge support the legacy implementation at all.
This vuln was being actively used by state actors and was a watering hole style attack, where simply visiting the malicious site was enough to compromise. The next page of the write-up goes into the technical details. This is a class of vulnerability that we havent covered before. Its a use-after-free in a garbage collected language.
Garbage collection is the alternative to manually freeing memory when finished with it. One of the advantages is that it is supposed to make use-after-free bugs a thing of the past, so whats going on here? The garbage collection code in jscript.dll doesnt properly track the reference count in certain situations. This bug specifically deals with the Array.sort() callback function. Arguments to that function arent properly tracked, so the JS instance can be manipulated such that a GC sweep frees an object that will be later accessed.
For the exploit and further analysis of how this flaw was used in the wild, check out part 2 and part 3 of the full write-up.
See the article here:
This Week In Security: Iran's ITG18, ProcMon For Linux, And Garbage Collection Fail - Hackaday
- Trump says the US and Iran have sort of agreed on the terms for a nuclear deal - AP News - May 15th, 2025 [May 15th, 2025]
- Imposing Sanctions on China- and Iran-based Entities and Individuals that Support Irans Ballistic Missile Program - U.S. Department of State (.gov) - May 15th, 2025 [May 15th, 2025]
- Opinion | Trumps reversal on Iran may be his most consequential - The Washington Post - May 15th, 2025 [May 15th, 2025]
- Heres how a Trump nuclear deal with Iran could impact global oil supplies and prices - MarketWatch - May 15th, 2025 [May 15th, 2025]
- State Department confirms 'constructive' nuclear talks with Iran; Trump says deal 'sort of' agreed to - Fox News - May 15th, 2025 [May 15th, 2025]
- US targets Iran-backed Hezbollah with new sanctions, Treasury Departments says - Reuters - May 15th, 2025 [May 15th, 2025]
- Trump appeals for Qatars help in persuading Iran to give up its nuclear program - AP News - May 15th, 2025 [May 15th, 2025]
- Emerging nuclear agreement between US and Iran seems problematic, officials tell 'Post' - The Jerusalem Post - May 15th, 2025 [May 15th, 2025]
- Oil Extends Drop as Trump Says US Is Closer to Deal With Iran - Bloomberg.com - May 15th, 2025 [May 15th, 2025]
- Iran, European powers to hold nuclear talks in Turkey - Times of India - May 15th, 2025 [May 15th, 2025]
- Republicans urge Trump to follow through on his plan to dismantle Iran's nuclear capabilities - Fox News - May 15th, 2025 [May 15th, 2025]
- Trump Says US and Iran Close to Nuclear Deal - AllSides - May 15th, 2025 [May 15th, 2025]
- Iran is the most lonely country in the world right now, says KT McFarland - Fox Business - May 15th, 2025 [May 15th, 2025]
- Trump pulls sanctions on Syria, extends olive branch to Iran - The Washington Post - May 15th, 2025 [May 15th, 2025]
- WATCH: Trump urges Iran to take 'new and a better path' for nuclear deal in remarks at U.S.-Saudi investment forum - PBS - May 15th, 2025 [May 15th, 2025]
- Iran and Ethiopia have a security deal heres why they signed it - The Conversation - May 15th, 2025 [May 15th, 2025]
- Trump says Iran has sort of agreed to terms of nuclear deal - The Hill - May 15th, 2025 [May 15th, 2025]
- Trump says he doesnt want to make nuclear dust in Iran - Al Jazeera - May 15th, 2025 [May 15th, 2025]
- Iran Nuclear Deal Would Give a Little Boost to Global Oil Supply - Bloomberg.com - May 15th, 2025 [May 15th, 2025]
- Hailing Syria, arming Saudis, dealing with Iran and Houthis, Trump relegates Israeli concerns - The Times of Israel - May 15th, 2025 [May 15th, 2025]
- Trump is not an isolationist, he will stop Iran from getting a nuclear weapon, expert says - Fox News - May 15th, 2025 [May 15th, 2025]
- US says latest round of nuclear talks with Iran were 'encouraging' - BBC - May 11th, 2025 [May 11th, 2025]
- Iran's top diplomat arrives for indirect nuclear talks with US in Oman - ABC News - May 11th, 2025 [May 11th, 2025]
- Iran and the US conclude a 4th round of negotiations over Tehrans nuclear program in Oman - CNBC - May 11th, 2025 [May 11th, 2025]
- Iran and US begin 4th round of negotiations over Tehrans nuclear program in Oman - Politico - May 11th, 2025 [May 11th, 2025]
- U.S. "encouraged" by progress in fourth round of nuclear talks with Iran, official says - Axios - May 11th, 2025 [May 11th, 2025]
- Iran and US conclude a fourth round of negotiations over Tehrans nuclear program in Oman - AP News - May 11th, 2025 [May 11th, 2025]
- US and Iran agree to future nuclear talks as negotiations wrap up in Oman - France 24 - May 11th, 2025 [May 11th, 2025]
- Iran, US begin 4th round of talks in Oman, with focus on uranium enrichment - The Times of Israel - May 11th, 2025 [May 11th, 2025]
- NCRI Reveals Irans Secret Rainbow Facility Linked to Nuclear Weapons and Missile Program - National Council of Resistance of Iran - NCRI - May 11th, 2025 [May 11th, 2025]
- US and Iran hold fresh round of nuclear talks in Oman - France 24 - May 11th, 2025 [May 11th, 2025]
- Will the real Iran policy stand up? - Politico - May 11th, 2025 [May 11th, 2025]
- Iran eying closer tech cooperation with China, bypassing the West - analysis - The Jerusalem Post - May 11th, 2025 [May 11th, 2025]
- Iran vows not to back down from its nuclear rights, as talks with US set to resume - The Times of Israel - May 11th, 2025 [May 11th, 2025]
- US, Iran nuclear talks end with 'agreement' to move forward - www.israelhayom.com - May 11th, 2025 [May 11th, 2025]
- Five Signs of Growing Risk of US War With Iran - Newsweek - May 11th, 2025 [May 11th, 2025]
- Iran Sends Stark Warning to US: "Gates of Hell" - Newsweek - May 11th, 2025 [May 11th, 2025]
- Iran ready to respond decisively to any threat, military chief vows while inspecting Persian Gulf - Tehran Times - May 11th, 2025 [May 11th, 2025]
- Trump heads to Middle East amid Iran nuclear standoff and Gulf investment drive - The Jerusalem Post - May 11th, 2025 [May 11th, 2025]
- Iran's top diplomat arrives for indirect nuclear talks with US in Oman - MSN - May 11th, 2025 [May 11th, 2025]
- Iran is up to its old tricks - Israel National News - May 11th, 2025 [May 11th, 2025]
- U.S. Holds Fourth Round of Nuclear Talks With Iran in Oman Ahead of Trump's Mideast Trip - Haaretz - May 11th, 2025 [May 11th, 2025]
- The axis of illusion: How Russia and Iran are partnering to manipulate Trump - The Hill - May 11th, 2025 [May 11th, 2025]
- Reports: Iran pressed Houthis into truce with US to build momentum in nuclear talks - The Times of Israel - May 11th, 2025 [May 11th, 2025]
- Texas pushes back against foreign land grab with 'strongest bill in the nation' against China, Iran, Russia - Fox News - May 11th, 2025 [May 11th, 2025]
- Iran says fourth round of talks with US difficult but useful - PressTV - May 11th, 2025 [May 11th, 2025]
- Difficult but useful: Iran and US tackle contentious issues in 4th round of talks - PressTV - May 11th, 2025 [May 11th, 2025]
- America Failed to Stop Pakistani Nukes. Will It Repeat the Error with Iran? - 19FortyFive - May 11th, 2025 [May 11th, 2025]
- Iran-U.S. indirect talks - PressTV - May 11th, 2025 [May 11th, 2025]
- Iran says its stance on nuclear talks with US remains constant - Reuters - May 5th, 2025 [May 5th, 2025]
- Iran unveils new missile capable of striking US targets as war threat rises - Newsweek - May 5th, 2025 [May 5th, 2025]
- Iran denies ordering Houthi attacks, as Yemen group reports wave of US airstrikes - The Times of Israel - May 5th, 2025 [May 5th, 2025]
- Trump fired Waltz because he wanted to attack Iran - Responsible Statecraft - May 5th, 2025 [May 5th, 2025]
- Waltzs coordination with Netanyahu on Iran strike contributed to his firing report - The Times of Israel - May 5th, 2025 [May 5th, 2025]
- Fire breaks out in IRGC ammunition depot in Iran - report - The Jerusalem Post - May 5th, 2025 [May 5th, 2025]
- Why US-Iran nuclear talks in Oman have stalled - Middle East Eye - May 5th, 2025 [May 5th, 2025]
- Another explosion in Iran? Fire breaks out at Islamic Revolutionary Guard Corps ammo depot - www.israelhayom.com - May 5th, 2025 [May 5th, 2025]
- How Trump blindsided Netanyahu with his Iran nuclear gamble - Reuters - May 5th, 2025 [May 5th, 2025]
- Iran Slams Trump as Nuclear Tensions Grow: "Destructive and Unlawful" - Newsweek - May 5th, 2025 [May 5th, 2025]
- Iran's FM: Tehran has the right to 'possess the full nuclear fuel cycle' - The Jerusalem Post - May 5th, 2025 [May 5th, 2025]
- Netanyahu disputes report that fired NSC chief Mike Waltz coordinated extensively with him on Iran - The Jerusalem Post - May 5th, 2025 [May 5th, 2025]
- US targets Iran with fresh sanctions ahead of next nuclear talks - Reuters - May 5th, 2025 [May 5th, 2025]
- US-Iran nuclear talks postponed, Iran says next round depends on US approach - The Times of Israel - May 5th, 2025 [May 5th, 2025]
- China's top diplomat backs Iran's nuclear diplomacy ahead of US talks - Reuters - May 5th, 2025 [May 5th, 2025]
- Iran maintains tough rhetoric on Israel and US, even while seeking nuclear deal - The Times of Israel - May 5th, 2025 [May 5th, 2025]
- Fourth round of US-Iran nuclear talks postponed amid continued tensions - Al Jazeera - May 5th, 2025 [May 5th, 2025]
- Report: Waltz's huddling with Netanyahu to plan Iran strike angered Trump, contributing to ouster - i24NEWS - May 5th, 2025 [May 5th, 2025]
- Netanyahu threatens Houthis, and Iran, as cabinet convenes after missile hits airport - The Times of Israel - May 5th, 2025 [May 5th, 2025]
- Waltzs intense coordination with Netanyahu on Iran strike contributed to firing report - The Times of Israel - May 5th, 2025 [May 5th, 2025]
- Iran executes a man convicted of spying for Israel, but activists say his confession was forced - CBS News - May 5th, 2025 [May 5th, 2025]
- Trump says any country that buys oil from Iran will not be allowed to do any business with U.S. - CNBC - May 5th, 2025 [May 5th, 2025]
- 'Losing the base': MTG warns Trump over Iran threats - www.israelhayom.com - May 5th, 2025 [May 5th, 2025]
- Trump threatens sanctions against buyers of Iranian oil after US-Iran nuclear talks are postponed - AP News - May 5th, 2025 [May 5th, 2025]
- U.S. negotiating position on Iran in flux as talks continue - The Washington Post - April 25th, 2025 [April 25th, 2025]
- Trump wants Iran deal but will be "leading the pack" for war without one - Axios - April 25th, 2025 [April 25th, 2025]
- Negotiations between Iran and the US over Tehran's nuclear program return to secluded Oman - AP News - April 25th, 2025 [April 25th, 2025]
- Congratulations to Paraguay for Confronting Iran and its Proxies - U.S. Department of State (.gov) - April 25th, 2025 [April 25th, 2025]
- 'Waste That St': In Interview With Free Beacon, Fetterman Tells Trump To Dump Iran Talks and Destroy Tehran's Nuclear Facilities - freebeacon.com - April 25th, 2025 [April 25th, 2025]
- Iran rejects demand from US to rely on imported uranium - The Guardian - April 25th, 2025 [April 25th, 2025]
- Israel said to fear US moving fast toward bad deal that wont block Iran from nukes - The Times of Israel - April 25th, 2025 [April 25th, 2025]