Forensics 200


When IU who lives in Seoul tried to do SQL Injection attack a certain WEB site, suddenly the browser was closed abnormally. What is the SQL Injection value she tried to enter and when the browser was closed? The time is based on Korea Standard Time(UTC +09:00)
Time Format is YYYY-MM-DDThh:mm:ssTZD (TZD : +hh:mm or hh:mm)

Answer : injection_value|time
(‘|’ is just a character)
Convert ‘ ‘ to ‘_’ for injection value.


So we check out the folders of the various browsers. Found an interesting link to

So we decided to see if that helps. First up Firefox Recovery: Mozilla Session Restore
Followed the instructions in the pdf from the above link, and there it is:

According to the document, sessionstore.js is created when the browser force restarts. sessionstore.js will be deleted when the browser shuts down normally.
So we took a look at the sessionstore.js which is in json. < Using this makes things easier. I cat-ed the file though.
And look what we found (excerpt, full one at the bottom of the post):

<Hiromi> well lets see
<Hiromi> “1_UNI/**/ON_SELECT”
<Hiromi> does that smell like sqli?
<amon> OHH
<amon> yes

There we found the sqli. Now for the timing since Answer : injection_value|time
There are 4 epoch/unix timestamps in the file. We converted them to Time Format is YYYY-MM-DDThh:mm:ssTZD (TZD : +hh:mm or hh:mm) and tried them out.


And there we have the answer.


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">