Gergely Kalman Profile
Gergely Kalman

@gergely_kalman

1,317
Followers
324
Following
44
Media
1,685
Statuses

bug bounty hunter I guess @gergelykalman @infosec .exchange

Joined April 2020
Don't wanna be here? Send us removal request.
@gergely_kalman
Gergely Kalman
2 years
@torproject I heard the people need bridges because #UkraineUnderAtta сk, so here is 50 (40 new).
Tweet media one
9
76
487
@gergely_kalman
Gergely Kalman
6 months
@ghidraninja at the same time youtube wonders why the engagement is down, must be the damn thieving pirates
0
2
328
@gergely_kalman
Gergely Kalman
5 months
Sorry no unboxing video, but here is the Apple Security Research Device with the swag that was included. Thank you @Apple !
Tweet media one
13
23
320
@gergely_kalman
Gergely Kalman
1 year
Sent in my exploit to Apple for March. A little late as life happened, but here it is. Meet a macOS LPE to root from any unsandboxed user: 24d8f84ab09f82db011c33023517d3b57822eb2c6e5105768eaea1dd50ddc441
5
41
269
@gergely_kalman
Gergely Kalman
1 year
@linusgsebastian ...but not as critically as todays sponsor. GLASS. DOOR. The leading company review company, get your coupon code in the vide description
1
0
208
@gergely_kalman
Gergely Kalman
7 months
My macOS LPE (any user to root) bug, "badmalloc" was awarded with $22500, as it only affects macOS. Fair enough, I doubt that this could be exploited on iOS. With that said, I can't help but feel like such a bug is more valuable, especially since it's been around for decades
4
6
109
@gergely_kalman
Gergely Kalman
3 months
Full Disclosure time: Here's a quick LPE for macOS that affects you if you have Homebrew installed under /usr/local (Intel macs or Apple Silicon with Game Porting Toolkit) You have to wait for periodic.daily to run, but that's a small price to pay
4
38
104
@gergely_kalman
Gergely Kalman
1 year
Here is the demo:
13
9
101
@gergely_kalman
Gergely Kalman
2 years
Apple awarded me $17000 for an LPE I handed in 11 months ago. It was a frustrating experience, but they DO PAY. I will write it up when all fixes are out, as bug was a shitshow (duplicate etc...). Also I guess I am officially a bounty hunter now :) Don't give up.
7
5
97
@gergely_kalman
Gergely Kalman
3 months
@LunaticJTV Super cool video! Bitflips due to cosmic rays are not terribly uncommon, this is why servers have ECC ram for ages, however it's a rare event as far as bitflips go. More likely causes are overheating, other EM interference or voltage glitches.
1
1
97
@gergely_kalman
Gergely Kalman
5 months
@lauriewired Welcome to javascript where "npm install node" will try to install 2.2GB of random ja crap from 1k repos maintained by 900 people
1
3
94
@gergely_kalman
Gergely Kalman
7 months
@LiveOverflow 1. rand() is good enough for salts. The reporter is wrong and confidently wrong, which is the worst type 2. The 3 rounds of SHA1 is actually not great, but it's far from terrible. It's extremely likely thus way due to legacy reasons, which the reporter doesn't address at all.
4
4
82
@gergely_kalman
Gergely Kalman
11 months
@AJemaineClement Yeah between this and cutting out avocadoes I might be able to live under a bridge in 20 years
0
0
81
@gergely_kalman
Gergely Kalman
8 months
@PR0GRAMMERHUM0R "is" does not mean equality, it checks if two objects are the same. the integers 0-255 are singletons (speed reasons)
3
3
78
@gergely_kalman
Gergely Kalman
1 year
@kvlly It seems amazing to me that people learn this lesson every week but somehow it is still not common knowledge. Companies are not your friends, they are machines. Loyalty means nothing.
4
2
63
@gergely_kalman
Gergely Kalman
1 year
@PR0GRAMMERHUM0R ThIS iS sARcASTiCasE
1
1
62
@gergely_kalman
Gergely Kalman
1 year
@coffeebreak_YT He does this because he is waiting for crypto to tank if I had to guess
4
0
56
@gergely_kalman
Gergely Kalman
1 year
So Apple fixed none of my bugs, and I still have not been credited for the old one that they rewarded. Oh well. In other news I will try to present the vulns at OBTS this year, or if I don't make the CFP there will be blogposts about them.
1
10
51
@gergely_kalman
Gergely Kalman
2 months
Hey @windscribecom congrats on 69M customers! Here's a 0day LPE in your shitware: (I posted this twice as Windscribe doesn't even own @windscribe :D)
Tweet media one
4
16
49
@gergely_kalman
Gergely Kalman
1 year
macOS Full TCC bypass: e33234b7591ba2725c0c4166cc64254707813d130f183f9d39f5a4d114840986 This is for May, I'm a little behind. Video coming next week, or as time permits.
1
10
46
@gergely_kalman
Gergely Kalman
8 months
CVE-2023-32422: Another TCC bypass, definitely not medium:
0
7
47
@gergely_kalman
Gergely Kalman
1 year
@LinusTech Still better than the Apple one, at least this never runs out of charge
1
0
41
@gergely_kalman
Gergely Kalman
1 year
macOS LPE that affects every release in the past 20 years: 0774bf11192625db013225b19d5fe1e58100b541d8e3bb2f489f6fbfabafb179 This takes care of my january quota, video coming soon
2
4
43
@gergely_kalman
Gergely Kalman
1 year
@LiveOverflow Plot twist: it is the same state forever
2
1
41
@gergely_kalman
Gergely Kalman
1 year
Super happy to report that I seem to be getting my first ever CVEs, coming to an Apple device near you :) To give credit where credit's due: it took Apple on average ~3.7 months to issue and ship the fixes, I will write up details on all this once everything is fixed and people
Tweet media one
5
1
42
@gergely_kalman
Gergely Kalman
1 year
@EmilyAYoung1 In every comment section there's "oh well it's up to the devs". No. Xcode is horrific, Apple policies on app store apps are unclear and subject to change. The device is not even out yet. I would be shocked if many devs threw away their current projects to jump on this bandwagon
7
0
40
@gergely_kalman
Gergely Kalman
1 year
A hastily recorded demonstrating Full TCC bypass. Details coming as soon as Apple fixes it. This covers May.
1
5
39
@gergely_kalman
Gergely Kalman
1 year
Today's accidental discovery: 18 lines of Python that crashes macOS from userspace
1
6
39
@gergely_kalman
Gergely Kalman
1 year
Some good news to start the day: I passed the OSMR exam! Thanks @theevilbit @offsectraining
5
2
34
@gergely_kalman
Gergely Kalman
1 year
: A full TCC bypass fs race condition. This is a very slow run, usually it is around ~10s. This is my missing report for feb and while it is not 50k (no sbx escape), I do wonder what this will be worth...
6
3
33
@gergely_kalman
Gergely Kalman
6 months
Happy to report that I will be receiving my very own Security Research Device from Apple. 2024 will not be a boring year
3
0
33
@gergely_kalman
Gergely Kalman
1 year
"We are stoked to inform you that your talk has been accepted for #OBTS v6.0. We really appreciate your valuable contribution." Oh wow, my talk got in! I only have 25m though, so prepared to record the video with 100fps as this talk will be _dense_, In more than one way
4
0
31
@gergely_kalman
Gergely Kalman
2 years
Sorry to all the Apple engineers who have to deal with my bs just before Xmas, I promise I am not timing this to screw with your holidays! 53a9bd4f497eaa374ad4caed7d16d0b175a63e15 - app sbx 9cc78427e1074b4869d747784160e3ff0c3fdbe3 - user tcc bypass More info as soon as I can
2
2
28
@gergely_kalman
Gergely Kalman
1 year
Hastily recorded user TCC.db overwrite (7f093050e1953d1fa14df4c9fca8e9d6da24353857cc5a8b13365eb0dc918750 - ) Thanks @theevilbit
0
4
24
@gergely_kalman
Gergely Kalman
2 months
@lauriewired I've been holding back for a year. Ampere is DOPE, they said that you can get a devkit setup pretty cheap too, like 1.5k usd
2
0
23
@gergely_kalman
Gergely Kalman
2 years
@torproject I saw the call for more bridges, so I brought up 10. It's not much but I'll do what I can to help
5
4
22
@gergely_kalman
Gergely Kalman
3 months
@SwiftOnSecurity I love the bit where they just yolo a random 10 star github repo into prod and call it a day :D
1
1
21
@gergely_kalman
Gergely Kalman
4 months
After numerous exploits, Apple has finally removed the FDA from Music. Good riddance!
2
2
20
@gergely_kalman
Gergely Kalman
2 months
Submitted my talk to DEF CON 32, wish me luck
4
0
39
@gergely_kalman
Gergely Kalman
1 year
I find it absolutely mind-blowing that with a 15 line dumb fuzzer you can crash applications in major OSes in less than a second
2
2
19
@gergely_kalman
Gergely Kalman
1 year
CVE-2023-32422 description is factually incorrect: "Impact: An app may be able to access data from other apps by enabling additional SQLite logging" This is not the case, this is a TCC.db overwrite. As soon as Apple confirms that they could not reproduce it, I'm making it public
2
1
20
@gergely_kalman
Gergely Kalman
6 months
Bounty life is wild: I hung Ghidra by trying to load the entire macOS userspace. I reported the bug to the F-ing NSA. They fixed it in a couple days 🤨
2
0
20
@gergely_kalman
Gergely Kalman
1 year
@ghidraninja Rest In Pins
0
0
19
@gergely_kalman
Gergely Kalman
2 years
@thegrugq I ran a VPN provider for a few years. Can confirm that most of our competitors acquired customers at a loss. We went under, only to realize later that they were just funded in other ways.
0
6
17
@gergely_kalman
Gergely Kalman
8 months
I uploaded all my exploit demos to youtube for you guys:
1
2
17
@gergely_kalman
Gergely Kalman
6 months
Apple gives me the runaround for 8 months on my macOS LPE (alfred), tells me it affects iOS but not macOS (the opposite is true). It becomes "bounty ineligible", but they tell me they are still working on it. Then I get a mystery $20500 on appstoreconnect, which would correspond
5
0
17
@gergely_kalman
Gergely Kalman
1 year
js: I have the worst dependency hell you can imagine macOS: hold my beer
Tweet media one
2
0
15
@gergely_kalman
Gergely Kalman
7 months
Apple closed the ticket on my bug (CVE-2023-40443), with bounty ineligible and I was not notified about this. Did anyone had a similar experience? I didn't really have a bug do this before.
8
0
16
@gergely_kalman
Gergely Kalman
3 months
hey @Blizzard_Ent care to explain why TF is your software create this directory as root in my "~/Library/Application Support": "drwxrwxrwx@ 3 root staff 96 Feb 24 12:04 Blizzard" This is amateur hour, and opens up the system to user->root LPE!
7
3
14
@gergely_kalman
Gergely Kalman
1 year
Finally some recognition :)
Tweet media one
Tweet media two
1
1
16
@gergely_kalman
Gergely Kalman
1 year
My ticket for CVE-2023-32422 got closed, no badge marking it as bounty-eligible. I messaged Apple and they replied the next day saying it's eligible and even the description will be fixed. Big props for this! Don't worry too much if this happens to you...
1
2
16
@gergely_kalman
Gergely Kalman
2 years
@cyb3rops @rly0nheart Richard if you are interested I'd love to send you some hardware I had lying around, as well as a job offer if you want to make some money with your research
0
0
15
@gergely_kalman
Gergely Kalman
8 months
Not that it matters a lot but my MallocStackLogging vuln () got scored a 7.8 instead of the 8.4 it should be. Someone said it "requires user interaction". It does not.
1
2
15
@gergely_kalman
Gergely Kalman
8 months
Hmm, Apple in their recent update added me to CVE-2022-26704, one of the CVEs of batsignal. That's a nice surprise :)
1
2
15
@gergely_kalman
Gergely Kalman
9 months
@CDisillusion I progressively watch less and less youtube due to shit like this and I don't miss it too much. Though I will never miss a new upload from you Captain!
1
0
15
@gergely_kalman
Gergely Kalman
8 months
Thanks to Andy and @patrickwardle , #OBTS was the most fun 2 days I've had in a while. Everybody was absolutely amazing
3
1
15
@gergely_kalman
Gergely Kalman
9 months
I can't help but think that Apple added a new mount flag because of me <3 + #define MNT_NOFOLLOW 0x08000000 /* don't follow symlink when resolving mount point */
2
0
14
@gergely_kalman
Gergely Kalman
6 months
Like this post if you want to see an unboxing video of the SRD 😆
0
0
13
@gergely_kalman
Gergely Kalman
6 months
@iblametom I'll save you guys a click: "Terms have not been disclosed"
2
0
13
@gergely_kalman
Gergely Kalman
1 year
I love macOS. It's always a great idea to redefine the meaning of special characters within a single stream of data
Tweet media one
3
1
12
@gergely_kalman
Gergely Kalman
1 year
CFP submitted to #OBTSv6 , fingers crossed. The outline is brutal, so to whoever reads it: I'm sorry
1
0
12
@gergely_kalman
Gergely Kalman
9 months
Finally got credit for CVE-2023-32428 a LPE in MallocStackLogging :)
1
0
13
@gergely_kalman
Gergely Kalman
2 years
So after a couple days of struggling I did manage to load 3600 macOS files (that are security-relevant) into Ghidra. All it took was ~9h, 16 cores and 64GB or ram :)
1
0
12
@gergely_kalman
Gergely Kalman
4 months
FiberHome password decoder The MAC's 2,3,4,5 bytes become the password when inverted in binary. Lookup table for hex: 0: f 8: 7 1: e 9: 6 2: d a: 5 3: c b: 4 4: b c: 3 5: a d: 2 6: 9 e: 1 7: 8 f: 0
2
3
11
@gergely_kalman
Gergely Kalman
1 year
@LiveOverflow If you drank 10 this would not be an issue :)
0
0
12
@gergely_kalman
Gergely Kalman
2 years
Hey mac experts @theevilbit , @_r3ggi : is it just me who thinks that having the ability to block arbitrary syscalls of entitled process via sandbox-exec is an insane idea? I can do this as a completely non-privileged user. What am I missing?
3
0
12
@gergely_kalman
Gergely Kalman
9 months
@PR0GRAMMERHUM0R 90% of that 80% is wordpress
0
1
12
@gergely_kalman
Gergely Kalman
7 months
Is Apple malicious or comically incompetent? As you might have seen, I complained about the bounty amount for badmalloc, since it affected multiple OSes. Things were changed, changelogs showed this (it was credited on macOS, iOS, watchOS, tvOS). Apple said no to reevaluating,
Tweet media one
Tweet media two
2
1
11
@gergely_kalman
Gergely Kalman
11 months
Pesky pesky symlinks
Tweet media one
1
0
11
@gergely_kalman
Gergely Kalman
2 years
@WynterErik Protip: some madlads rewrote it in C, like OpenTTD and it was quite playable years ago
2
0
10
@gergely_kalman
Gergely Kalman
11 months
@nnwakelam I hit 100k usd yesterday, exclusively from Apple (macOS) logic bugs. I plan for 200k or so this year as I have some life stuff I needed to do, but it seems very doable. Do you have any tips/advice that helped you push the envelope?
1
0
11
@gergely_kalman
Gergely Kalman
2 years
Just spent $2.5k on @offsectraining 's MacOS course made by @theevilbit . Can't wait to get started :)
1
0
10
@gergely_kalman
Gergely Kalman
7 months
So @Samsung 's Tizen apparently uses .NET, and has W+X sections in memory: 00354000-00355000 rwxp 00004000 b3:12 55691 /usr/share/dotnet/shared/Microsoft.NETCore.App/3.1.3/System.Net.NameResolution.ni.dll This is not looking good
1
1
10
@gergely_kalman
Gergely Kalman
7 months
hey @Samsung can you enlighten me why my new and expensive QLED TV runs an 8 year old Linux kernel? I might take some time off Apple to mess with your #BugBounty
1
0
10
@gergely_kalman
Gergely Kalman
2 years
@mdowd 's Rules to Hack By is _mandatory_ for every bug hunter. There's some brilliant advice in there:
1
1
10
@gergely_kalman
Gergely Kalman
6 months
@LiveOverflow I though about doing this, but it would be unbearably boring, since I do this as a full time job. Any good bug worth talking about would take 6 months to fix for Apple (if you're lucky). I doubt any successful hunter who does this for a living would be open to discussing ongoing
0
0
8
@gergely_kalman
Gergely Kalman
11 months
@0x_shaq It is pretty dope. It sound like rocket-science but I learned it in 2 hours. It's magic
0
0
10
@gergely_kalman
Gergely Kalman
5 months
Not learning to code and trying to make it big in bug bounty is like trying to win the Formula1 with a rental car
3
2
10
@gergely_kalman
Gergely Kalman
2 years
@MalwareTechBlog Not true at all, GDPR exists for this reason and the US is adopting similar laws. It seems to be toothless for now, but it is law so you literally can drag companies to court over it, or more likely your country's data/privacy authority will do it for you
3
0
9
@gergely_kalman
Gergely Kalman
10 months
@Merocle forbidden jenga
0
0
9
@gergely_kalman
Gergely Kalman
11 months
My (arguably basic) automation found a trivial stack overflow while I was sleeping. It's in a privileged, default macOS app. Don't believe the hackfluencers if you are serious about bug bounties. Coding is a MUST
0
1
9
@gergely_kalman
Gergely Kalman
3 months
@Dinosn Fucking hell I found this, but I never thought to mount the unmounted system volume, with the volumes I created nosuid was always present. What a terrific find!
0
1
9
@gergely_kalman
Gergely Kalman
1 year
So segfaulting libc is still a thing with this 13 year old CVE (CVE-2010-4051). Okay cool I guess 🥲 pgrep ".*{10,}{10,}{10,}{10,}{10,}"
1
2
9
@gergely_kalman
Gergely Kalman
2 years
New macos local root day. I'll post info as soon as I'm able. c40795e29a09052d54ac718a06156a30d608bacf5502dd4355cc69a16477f9dc3a36c7a9009e5436afca3c220e3df504ba7d69abaffa2e6461cbb0261ca5f5a2
1
0
8
@gergely_kalman
Gergely Kalman
3 months
On macOS I got used to using dtrace as it's super convenient, and apparently I was living under a rock as Linux has BPF working out of the box now these days, which pretty much can do the same things. This is EPIC!
2
0
9
@gergely_kalman
Gergely Kalman
1 year
I have a few TCC bypasses and today I found another one. This stopped being funny after about the 3rd or 4th.
0
1
9
@gergely_kalman
Gergely Kalman
1 year
@ElectroBOOMGuy alternative caption: Junior developer's first push to prod while seniors are on a meeting
0
0
9
@gergely_kalman
Gergely Kalman
7 months
what the hell Apple?
@whitetailani
yuriposting ultima
7 months
The Personalized Ads setting in iOS doesn't disable the ad tracking daemon. All it does is tell the kernel to kill that daemon whenever it tries to start... every... three.... seconds.
Tweet media one
Tweet media two
62
390
4K
0
2
9
@gergely_kalman
Gergely Kalman
2 years
Fucking finally. A promising bug I was working on has finally been turned into an LPE. I'll post details as soon as I am able. 160843e9707aa563d1c8c9a93292b1ef52ce428b 531f19b00ec3ec91e65462f8760903c15fdfc41d
0
0
8
@gergely_kalman
Gergely Kalman
6 months
Finally my new Spotlight bug got x credited. An early Christmas gift
@ApplSec
ApplSec
6 months
🔄 92 ENTRY CHANGES 🔄 💻 macOS Sonoma 14 - 29 added, 12 updated 📱 iOS and iPadOS 17 - 18 added, 6 updated 💻 macOS Monterey 12.6.8 - 7 added 💻 macOS Big Sur 11.7.9 - 6 added 📺 tvOS 17 - 1 added, 3 updated 📱 iOS and iPadOS 16.7 - 4 added 💻 macOS Ventura 13.6 - 2 added
1
1
6
0
0
7