After data acquisition, the forensic examiner can 
calculate hash and load the data in a forensic tool for 
analysis  and  report.  For  use  with  Cellebrite  UFED 
Physical  Analyser,  a  specific  plugin  was  developed 
that is capable to load all extracted data and load all 
data using the vendor API. 
7  ASSUMPTIONS AND 
LIMITATIONS 
As the presented technique is based on JavaScript to 
be  executed  in  the  Web  Browsers  console,  it  is 
necessary that the code be built in a portable way. For 
the present time, it has been adopting code compatible 
with  ECMAScript  version  6,  compatible  with  the 
most popular Web Browsers. 
Textual  data  is  exported  in  JSON  format  and 
media data is decoded in the same formats used  by 
WhatsApp  Web  (jpg,  mp4,  ogg,  pdf,  docx,  vcard, 
webm), therefore, to analyze this data, a tool capable 
of decoding these data is needed. 
Since  the  code  was  built  for  technique, changes 
have been detected in the code of the WhatsApp Web 
Webpack modules that required changes to the built 
code in order for it to remain operational. Thus, it is 
necessary to keep a constant review of the WhatsApp 
Web code to keep the constructed code working. 
8  CONCLUSIONS 
This paper presents a forensic technique for acquiring 
WhatsApp  Web  data  from  browser  and  making  it 
ready to analysis phase. The work includes the study 
of concepts and structures of the most used browsers 
and architecture of single-page web applications. The 
proposed  technique  is  performed  using  JavaScript 
code  developed  for  the  direct  use  in  browser’s 
JavaScript console and packing all extracted files into 
a single file. 
The proposed technique contribution comes from 
its ability to extract and prepare the obtained data as 
JSON  files  to  be  useful  in  most  of  the  forensic 
analysis tools, as  Cellebrite Physical Analyser, thus 
overcoming  earlier  works  and  other  traditional 
techniques  based  on  post-mortem  analysis or  RAM 
dumps.  An  additional  contribution  concerns  the 
console browser use as a forensic technique that can 
also be useful to other chat web applications. 
As future work, the author intend to carry out of 
the technique with data retrieved from other web chat 
client  applications,  as  Telegram  Web  (Telegram, 
2021),  that  in  preliminary  analysis  shows  uses  a 
similar architecture based in Webpack as WhatsApp 
Web. 
ACKNOWLEDGEMENTS 
The author is thankful to Police Agents and Forensic 
Experts  members  of SPI/SPCAT  (IT and  Advanced 
Computer  Forensics  sections)  from  Criminalistics 
Institute  of  the  Civil  Police  in  Federal  District  of 
Brazil (IC/PCDF) for their support in accomplishing 
this research. 
REFERENCES 
Axios  (2021).  Promise  based  HTTPClient  for  the  web 
browser and nodeJS [Online]. Available: https://axios-
http.com 
Bouzid, M. (2020). Webpack for Beginners: Your Step-by-
Step Guide to Learning Webpack 4. Apress. 
Flanagan, David, "JavaScript - The Definitive Guide", 5th 
ed., O'Reilly, Sebastopol, CA, 2006, p.497 (6) 
Hay, B., Nance, K., and Bishop, M. (2009). Live analysis: 
Progress  and  challenges.  Digital  forensics.  IEEE 
Security  and  Privacy,  7:30–7.  https://doi.org/10.1109/ 
MSP.2009.43 (4) 
Johansen,  G.  (2020).  Digital  forensics  and  incident 
response: Incident response techniques and procedures 
to  respond  to  modern  cyber  threats. Packt  Publishing 
Ltd. 
JSZip (2021).  JavaScript  library for  creating,  reading and 
editing  zip  files  [Online].  Available:  https:// 
stuk.github.io/jszip 
Kloeze L.  (2017), “Collecting huge amounts  of data  with 
WhatsApp,”  [Online].  Available:  https:// 
www.lorankloeze.nl/2017/05/07/collecting-
hugeamounts-of-data-with-whatsapp/. 
Ligh, M. H., Case, A., Levy, J., Walters, A.(2014). The art 
of memory forensics: detecting malware and threats in 
windows, linux, and mac memory. John Wiley & Sons. 
OpenWA  (2021).  WA-Automated-Node  [Online]. 
Available: https://docs.openwa.dev 
Paligu,  F.,  &  Varol,  C.  (2020).  Browser  Forensic 
Investigations of WhatsApp Web Utilizing IndexedDB 
Persistent Storage. Future Internet, 12(11), 184. 
STJ Revista Eletrônica (2021). Superior Tribunal de Justiça 
[Online  on  Superior  Court  of  Justice  website]. 
Available:  https://processo.stj.jus.br/processo/revista/ 
documento/mediado/?componente=ATC&sequencial=
127283032&num_registro=202002175828&data=202
10607&tipo=5&formato=PDF 
Scott  Jr,  E.  A.  (2015).  SPA  Design  and  Architecture: 
Understanding  single-page  web  applications.  Simon 
and Schuster.