Anestis Bechtsoudis (@anestisb) header
Anestis Bechtsoudis (@anestisb) profile picture

InfoSec Engineer @census_labs - Driven by passion for challenges

Greece
Joined January 2011
Photo by Anestis Bechtsoudis (@anestisb)Photo by Anestis Bechtsoudis (@anestisb)Photo by Anestis Bechtsoudis (@anestisb)Photo by Anestis Bechtsoudis (@anestisb)Photo by Anestis Bechtsoudis (@anestisb)Photo by Anestis Bechtsoudis (@anestisb)Photo by Anestis Bechtsoudis (@anestisb)Photo by Anestis Bechtsoudis (@anestisb)Photo by Anestis Bechtsoudis (@anestisb)Photo by Anestis Bechtsoudis (@anestisb)
I’m hiring to grow our confidential computing security eng. team (edge devices & cloud platforms). If hypervisors, virt, attestation, (v)TPM, KVM, crosvm, SGX/TDX/SEV-SNP/VMPL, dynamic passthrough & VirtIO tickle your brain, drop me a message to discuss potential opportunities.
7
1
28
9,920
VdexExtractor 0.6.0 released with Android 10 support. Seems that new 021 version has minor changes to support Vdex files generated from InMemoryDexClassLoader. To worry about perf there, G seems to invest a lot on it. | github.com/anestisb/vdexExtr…
9
21
Pixel 3,4 devices use a custom packed img format for bootloader & radio (FBPK) that is not part of upstream EDK2 bootloader. Spent part of holidays reversing G's B1c1FastbootApp UEFI app & released an upacking tool as a side-product - github.com/anestisb/qc_image…
1
21
74
On top of extracting packed entries, partition table info for all available LUN is also printed. Still need to figure out some unknown struct members (not used in examined target), although all the basics are there.
1
2
Who needs 0days when you have Nyears never backported from upstream to Android kernels. Btw officially surprised that Google & QC/caf missed to backport a binder security patch.
1
8
If TEEs, TAs, hypervisors, bootloaders, embedded devices hw root of trust, secure boot, uefi, mcu, modem, adsp and low-level Android systems security is your thing, dm me. We have some really exciting projects running at @census_labs.
9
1
21
Seems that CodeAurora maintainers are book keeping Android for MSM release tags per chipset/OS-ver in a wiki page (wiki.codeaurora.org/xwiki/bi…). So happy that I don't need to repo manifest parse anymore the entire bloatware just to dig the correct LA tag from XMLs.
1
3
Seems that Android ART plans to replace the patchoat ImageSpace relocation with an in-memory randomised relocation instead (android-review.googlesource.…). Looks like a nice gift to hardened ROM devs since can easily relocate per app without massive changes in zygote fork design.
2
I've submitted a cdex to dex converter within oatdump in upstream AOSP (android-review.googlesource.…). It's merged in master & hopefully will ship with the next major OS update so I don't have to redo all the work to recover stripped bytecode.
1
2
13
If I find time I'll also contribute the libdexlayout work I did, since the current tools are behaving very poorly when used from the standalone cmd tools.
Android P runtime is massively modifying the visibility (fields/methods AccessFlags) of many framework classes (android.googlesource.com/pla…) via a custom encoding (hiddenapi). vdexExtractor decompiler backend updated to handle & revert this custom encoding github.com/anestisb/vdexExtr…
1
13
17
This seems to be part of the API blacklisting policy that is expanding in Android.
1
android-prepare-vendor has been updated to support Android 9 vendor blobs generation for Pixel devices. Had to extend AOSP's oatdump utility in order to properly recover bytecode resources that have been stripped from original archives in factory images. github.com/anestisb/android-…
1
1
The next step is to chat with Android ART devs & upstream all the recent work I did with dexlayout & oatdump extensions. Otherwise it would be a nightmare to maintain independently. Hopefully the OS updates that will ship with the Pixel 3 devices would not have major ART changes.
Since upstream ART host tools don't support the new CompactDex format, I've written a tool that uses Dexlayout IR to convert back to StandardDex (gist.github.com/anestisb/302…). Needs to be compiled from AOSP. More info, binary URLs & automation scripts in github.com/anestisb/vdexExtr…
1
1
6
This project was a painful reminder that despite the large adoption of Dex files, we're still missing decent & flexible IR libraries that are not strongly coupled with business cases (e.g. redex from facebook).
1
Was reading some recent P0 chromium bugs. It's awesome that different teams from Google use the same tools/fuzzers, and sec folks still find not-that-complex bugs in heavily fuzzed stacks. [put_your_fav_fuzzing_gif_here]. Diversity & manual tweaking for the win!
4
vdexExtractor decompiler/disassembler tool updated to support Vdex ver. 019 as introduced with Android 9 (Pie) API-28 release. Dex parsing engine has been updated to also support the new CompactDex files. | github.com/anestisb/vdexExtr…
1
15
47
Still missing a solid tool to convert CompactDex files back to StandardDex files, although I'm working on some ideas (see github.com/anestisb/vdexExtr…). Most probably I'll contribute to libart's dexlayout library to support CompactDex files as input in the IR parser.
"Interesting" coincidence that Google folks report a high vuln in fortnite installer app, while Epic Games decided to distribute outside store. If only Google was that thorough with PlayStore app reviews (issuetracker.google.com/issu…, mashable.com/2018/08/25/goog…).
1
2
1
5
It's also "interesting" that G insisted on making the issue public 9d after patch, while it has stopped unrestricting the view permissions of the Android VRP bugs for almost 2 years. A tracker search with the vuln. type filter shows only one result - issuetracker.google.com/issu…
I really like the µUBSan project added recently in NetBSD (blog.netbsd.org/tnf/entry/in…). Makes the standalone UBSan ideal for UB fuzzing of targets where compiling & linking with the clang/llvm/gcc runtime libraries is not an easy task.
2
Are you fusing a 2nd RoT hash in QFPROM for the tamper-resistant hw firmware? If the (same) signing keys are compromised, previous components of the boot process or wipe impl. logic (TZ/ABL) can be modified, thus the Insider Attack Resistance has a limited security benefit.
1
1
2
Android 9 includes a new internal DEX file format called CDEX (Compact DEX: android.googlesource.com/pla…) breaking many of my tools. Wonder how many more intermediate formats will Google create before realising that DEX is not suitable anymore for baseline ART bytecode.
2
25
2
57
The unquicken patches I've upstreamed last year have landed with the P release, although CDex is not supported. oatdump exports CDex files, but dexlayout (or any other libart cmd tool) cannot process them. How on earth are G engineers working with new file outside the stub UTs?
1
1
If you want to pursue an academic career in Greece in the fields of hw security, cryptography or other InfoSec fields, you should definitely get in touch with @SCYTALEgr group. Dr. N. Sklavos that runs the group is among the most talented and passionate people I've worked with.
2
1
Will be in London this week for InfoSec EU. Ping me if you're around and available for a drink. Will also be with the @census_labs booth during conference hours.
2
4
So facebook screwed-up device root detection via a 3rd-party SDK. Another good reminder that Google should release a hardware-backed SafetyNet device attestation so this device integrity nonsense can eventually stop.
3
13
41