Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
surebet
Jan 10, 2013

avatar
specialist


actual security research question: i'm getting curious about how those free flashlight apps & ad infested games on android work and i've started to pull a couple apart with apktool, sniffing traffic with wireshark & even had some limited success loving around with ida

one thing that i'm still struggling with is a bunch of files with an xml extension; androidmanifest.xml files get extracted correctly by apktool, but a bunch of other xml files (if they're even xml, but in the case of the app i'm having issues with nothing else seems obfuscated so v0v) are coming out as complete gibberish

i seem to be lacking the correct words to google my way through this issue as usual. pretty much anything i try to describe as "apktool * broken xml" refers back to axmlprinter, which apparently only works on manifest files. i gave dex2jar a go, but i'm not interested in the code of the app as much as those resource files

any ideas how i should hit this next?

Adbot
ADBOT LOVES YOU

cinci zoo sniper
Mar 15, 2013




surebet posted:

actual security research question: i'm getting curious about how those free flashlight apps & ad infested games on android work and i've started to pull a couple apart with apktool, sniffing traffic with wireshark & even had some limited success loving around with ida

one thing that i'm still struggling with is a bunch of files with an xml extension; androidmanifest.xml files get extracted correctly by apktool, but a bunch of other xml files (if they're even xml, but in the case of the app i'm having issues with nothing else seems obfuscated so v0v) are coming out as complete gibberish

i seem to be lacking the correct words to google my way through this issue as usual. pretty much anything i try to describe as "apktool * broken xml" refers back to axmlprinter, which apparently only works on manifest files. i gave dex2jar a go, but i'm not interested in the code of the app as much as those resource files

any ideas how i should hit this next?

https://github.com/google/android-classyshark

FAT32 SHAMER
Aug 16, 2012



surebet posted:

actual security research question: i'm getting curious about how those free flashlight apps & ad infested games on android work and i've started to pull a couple apart with apktool, sniffing traffic with wireshark & even had some limited success loving around with ida

one thing that i'm still struggling with is a bunch of files with an xml extension; androidmanifest.xml files get extracted correctly by apktool, but a bunch of other xml files (if they're even xml, but in the case of the app i'm having issues with nothing else seems obfuscated so v0v) are coming out as complete gibberish

i seem to be lacking the correct words to google my way through this issue as usual. pretty much anything i try to describe as "apktool * broken xml" refers back to axmlprinter, which apparently only works on manifest files. i gave dex2jar a go, but i'm not interested in the code of the app as much as those resource files

any ideas how i should hit this next?

android uses xml files for the manifest (which tells android what permissions the app needs, what it will sort of look like wrt screen position, and a few other things

the rest of the xml files are layout files that are never really very well decompiled in my experience but all of the tools that i've used at work dont decompile to the java code for various reasons

but yeah best success ive had is with classyshark

Jimmy Carter
Nov 3, 2005

THIS MOTHERDUCKER
FLIES IN STYLE

spankmeister posted:

Hey I happen to know which country you're from and by far the most companies respond fairly well to responsible disclosures. The culture and legal climate are very very different from the US.

I get why some people itt say "full disclosure always" but here it's not the case at all. Biggest issue is companies simply not responding or responding positively initially and then going into radio silence mode. But f you find something and don't touch the poop (follow responsible disclosure guidelines) then no judge will convict you.

If you find a serious issue and the company doesn't respond or doesn't fix the issue in a reasonable amount of time or properly then the government will actually help you and act as intermediary. This works 99% of the time.

If you're in the US and it's related to anything involving embedded hardware or infrastructure, give ICS-CERT a call and they'll take care of everything for you.
I'm inadvertently on a CVE with a score of 10 because my friend told them about the hardcoded root password on a box that's used in TV stations for playout and control, and they took care of the 'hassle the company' problem

surebet
Jan 10, 2013

avatar
specialist



FAT32 SHAMER posted:

but yeah best success ive had is with classyshark

oh man, that hits the spot perfectly. thanks guys!

FlapYoJacks
Feb 12, 2009
In non-security fuckup news:


- I was able to get LibreSSL into mainline Buildroot.
- I converted all of my projects over to using LibreSSL.

:smug:

FlapYoJacks
Feb 12, 2009
OH HEY

The OPENSSL people IGNORED Tavis.

https://github.com/libressl-portable/openbsd/commit/91744d3deae1b0a448f936d107d1934c12510fee

You can't ignore Tavis! You will regret this!

cinci zoo sniper
Mar 15, 2013




im the tyool 2017 infosec-related product person typing out loud "Some dude named Travis Ormandy"

FlapYoJacks
Feb 12, 2009

cinci zoo sniper posted:

im the tyool 2017 infosec-related product person typing out loud "Some dude named Travis Ormandy"

Oh they know who he is. ;)

cinci zoo sniper
Mar 15, 2013




ratbert90 posted:

Oh they know who he is. ;)

right, i missed the whole "jump openssl for libressl" thing so i figure someone got owned

mrmcd
Feb 22, 2003

Pictured: The only good cop (a fictional one).

ratbert90 posted:

OH HEY

The OPENSSL people IGNORED Tavis.

https://github.com/libressl-portable/openbsd/commit/91744d3deae1b0a448f936d107d1934c12510fee

You can't ignore Tavis! You will regret this!

I'm the guy who tries to argue it's a documentation bug because there's some sort of use case where I want to parse a new cert into previously used memory but reuse the validation states because ... ???

mrmcd
Feb 22, 2003

Pictured: The only good cop (a fictional one).

"I mean we clearly state at the bottom of the man page that calling do_thing() without first calling dont_shoot_own_dick() will result in the users dick getting shot off. We can't be expected to handhold every single user of our library." --a C programmer, probably.

maskenfreiheit
Dec 30, 2004

mrmcd posted:

"I mean we clearly state at the bottom of the man page that calling do_thing() without first calling dont_shoot_own_dick() will result in the users dick getting shot off. We can't be expected to handhold every single user of our library." --a C programmer, probably.

read this in bunk's voice

rjmccall
Sep 7, 2007

no worries friend
Fun Shoe
the "avoid an unnecessary allocation" behavior is reasonable. the "we don't clear all the state with the old thing" is obviously a bug which "gently caress it just don't bother" is i guess a reasonable reaction to if your software architecture is garbage

Rectus
Apr 27, 2008

ratbert90 posted:

OH HEY

The OPENSSL people IGNORED Tavis.

https://github.com/libressl-portable/openbsd/commit/91744d3deae1b0a448f936d107d1934c12510fee

You can't ignore Tavis! You will regret this!

maskenfreiheit
Dec 30, 2004

spankmeister
Jun 15, 2008






FlapYoJacks
Feb 12, 2009

When I make a product I want it to be endorsed by Tavis.

mod saas
May 4, 2004

Grimey Drawer

Deep Dish Fuckfest
Sep 6, 2006

Advanced
Computer Touching


Toilet Rascal

Lain Iwakura
Aug 5, 2004

The body exists only to verify one's own existence.

Taco Defender

Midjack
Dec 24, 2007



Workaday Wizard
Oct 23, 2009

by Pragmatica

:bisonyes:

Phone
Jul 30, 2005

親子丼をほしい。

cinci zoo sniper
Mar 15, 2013




compuserved
Mar 20, 2006

Nap Ghost

Kuvo
Oct 27, 2008

Blame it on the misfortune of your bark!
Fun Shoe

:eyepop:

RISCy Business
Jun 17, 2015

bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork
Fun Shoe

:perfect:

Volmarias
Dec 31, 2002

EMAIL... THE INTERNET... SEARCH ENGINES...

Subjunctive
Sep 12, 2006

✨sparkle and shine✨

amazing

Progressive JPEG
Feb 19, 2003

imo we should still acknowledge

maskenfreiheit posted:

read this in bunk's voice

Progressive JPEG
Feb 19, 2003

ok back to

FAT32 SHAMER
Aug 16, 2012



Lain Iwakura
Aug 5, 2004

The body exists only to verify one's own existence.

Taco Defender
cruel idea: call up a random security person and claim that you're brian krebs
crueler idea: call up said random security person at 4:30 pm on a friday claiming to be krebs
cruelest idea: call up said security person at 4:30 pm on a friday, claim you're krebs, and also introduce someone claiming to be tavis ormandy

Volmarias
Dec 31, 2002

EMAIL... THE INTERNET... SEARCH ENGINES...
Call up Brian Krebs claiming to be Brian Krebs from a terrible future where Bitcoin is the world currency but the security situation hasn't improved. Say that Tavis is the ruler of the world and ask whether this is actually pretty ok all things considered.

mrmcd
Feb 22, 2003

Pictured: The only good cop (a fictional one).

maskenfreiheit posted:

read this in bunk's voice

Krebs: You know why I respect you so much, Tavis?

Tavis: Mm-mmm.

Krebs: It’s not ’cause you’re good security engineer, ’cause, y’know, gently caress that, right?

Tavis: Mm. gently caress that, yeah.

Krebs: It’s not ’cause when I came to cybercrime, you taught me all kinds of cool poo poo about . . . well, whatever.

Tavis: Mm. Whatever.

Krebs: It’s ’cause when it came time for you to pentest me . . . you were very gentle.

Tavis: You drat right.

Krebs: See, ’cause you could have hauled me out of the server room and just bent me over the rack of a unpatched firewall, and . . . no, you were, you were very gentle.

Tavis: I knew it was your first time. I wanted to make that poo poo special.

Krebs: It was, man. It loving was.

RISCy Business
Jun 17, 2015

bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork
Fun Shoe

mrmcd posted:

Krebs: You know why I respect you so much, Tavis?

Tavis: Mm-mmm.

Krebs: It’s not ’cause you’re good security engineer, ’cause, y’know, gently caress that, right?

Tavis: Mm. gently caress that, yeah.

Krebs: It’s not ’cause when I came to cybercrime, you taught me all kinds of cool poo poo about . . . well, whatever.

Tavis: Mm. Whatever.

Krebs: It’s ’cause when it came time for you to pentest me . . . you were very gentle.

Tavis: You drat right.

Krebs: See, ’cause you could have hauled me out of the server room and just bent me over the rack of a unpatched firewall, and . . . no, you were, you were very gentle.

Tavis: I knew it was your first time. I wanted to make that poo poo special.

Krebs: It was, man. It loving was.

FlapYoJacks
Feb 12, 2009
Security Fuckup Meathead - v14.1 - Security City 2000, Mayor Name: Tavis

Mr SuperAwesome
Apr 6, 2011

im from the bad post police, and i'm afraid i have bad news

ratbert90 posted:

Security Fuckup Meathead - v14.1 - Security City 2000, Mayor Name: Tavis

Adbot
ADBOT LOVES YOU

Rectus
Apr 27, 2008

ratbert90 posted:

Security Fuckup Meathead - v14.1 - Security City 2000, Mayor Name: Tavis

  • Locked thread