• Transparent Tribe Targets Indian Govt With Weaponized Desktop Shortcuts via Phishing The Hacker [email protected] (The Hacker News)
    • ISC Stormcast For Monday, August 25th, 2025 https://isc.sans.edu/podcastdetail/9584, (Mon, Aug 25th) SANS Internet Storm Center, InfoCON: green
    • Reading Location Position Value in Microsoft Word Documents, (Mon, Aug 25th) SANS Internet Storm Center, InfoCON: green
    • The end of an era: Properly formated IP addresses in all of our data., (Sun, Aug 24th) SANS Internet Storm Center, InfoCON: green
    • Malicious Go Module Poses as SSH Brute-Force Tool, Steals Credentials via Telegram Bot The Hacker [email protected] (The Hacker News)
    • The Beginner’s Guide to Using AI: 5 Easy Ways to Get Started (Without Accidentally Summoning Skynet)
      by Tech Jacks
      March 29, 2025
    • Tips and Tricks to Enhance Your Incident Response Procedures
      by Tech Jacks
      March 17, 2025
    • Building a Security Roadmap for Your Company: Strategic Precision for Modern Enterprises 
      by Tech Jacks
      March 10, 2025
    • The Power of Policy: How Creating Strong Standard Operating Procedures Expedites Security Initiatives
      by Tech Jacks
      March 6, 2025
    • Building a Future-Proof SOC: Strategies for CISOs and Infosec Leaders 
      by Tech Jacks
      March 3, 2025
    • Security Gate Keeping – Annoying – Unhelpful
      by Tech Jacks
      November 13, 2024

  • Home
  • Blog & Observations
  • Articles
    • Guest Author
      • Peter Ramadan
        • SOC IT to ME
        • The Power of Policy
        • CISO Elite
  • In The News
  • Podcast & Vlogs
    • Podcast Videos
    • Security Unfiltered Podcast Information
  • Training & Videos
    • AI
      • AI Governance
    • Cloud
      • AWS
      • Azure
      • Google Cloud
    • Networking
    • Scripting
    • Security
      • Application Security
      • Cloud Security
      • Incident Response
      • Pentesting Information
      • Risk Management
      • Security Policy
    • Servers
    • Microsoft SCCM
    • ISC2
  • Services

Reading Location Position Value in Microsoft Word Documents, (Mon, Aug 25th) SANS Internet Storm Center, InfoCON: green

August 24, 2025

While studying for the GX-FE &#;x26;#;x5b;1&#;x26;#;x5d;, I started exploring the “Position” value in the registry that helps to tell Microsoft Word where you “left off”. It&#;x26;#;39;s a feature many people that use Word have seen on numerous occasions and is explored in FOR500: Windows Forensic Analysis &#;x26;#;x5b;2&#;x26;#;x5d;. 

While studying for the GX-FE [1], I started exploring the “Position” value in the registry that helps to tell Microsoft Word where you “left off”. It’s a feature many people that use Word have seen on numerous occasions and is explored in FOR500: Windows Forensic Analysis [2]. 


Figure 1: Word pop-up offering to continue at last location, which is assited by “Position” registry value.

. 

For example, my registry has the following registry information for a test document I created:
 

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USERSoftwareMicrosoftOffice16.0WordReading LocationsDocument 20]
"File Path"="C:\Users\sans_isc\Documents\Testing Word Reading Locations.docx"
"Datetime"="2025-08-23T14:39"
"Position"="493796625 5462"

There are two numbers associated with the “Position” value. Experimentation suggests that the second number in this value is the character count position from the start of the document. I wasn’t sure about the first value until I ran along a different article exploring this topic [3]. 


Figure 2: Example value of “Position”. 

 

Phill Moore noticed that the first portion of this value was the “w14:paraId“, which can be seen in the raw XML of the Word document. Their article helped me understand something I didn’t understand from my data during testing. I didn’t know why this first number value changed when I was testing. The value seemed static until at some arbitrary point it changed, but then it didn’t change anymore after that. It turns out that the document I randomly copied text into had a paragraph break. To create the test document, I copied and pasted text multiple times and at some point had created a new paragraph by hiting enter around page 4. Phill had also suggested that the second value in the “Position” could be character count, which is supported experimentally. 

 

Experimentation

First, a document was created by copying and pasting text into a Word document. After this, I experimented by opening and closing the document in a variety of ways to understand how the values changed within the registry. After each opening of the document, the “Pick up where you left off” option was used. 

Starting “Position” Value Action Taken After Opening Document Ending “Position” Value Notes
493796625 0 Scroll wheel down 2 clicks 493796625 0 First line of text still visible
493796625 0 Scroll wheel down 3 clicks 493796625 181 Second line now the pop-most line visible
493796625 181 Scrolled down to page 3, left-clicked on line 9 column 55 493796625 6698  
493796625 6698 Left-clicked at end of line 1 on page 3 493796625 6698 Document opened on first line of page 3, cursor at start
493796625 6698 Scroll wheel down 4 clicks, left clicked at end of line 14 493796625 7228 Document opened on first line of page 3, cursor at start
493796625 7228 No action taken 493796625 7228  
493796625 7228 Scroll wheel down 2 clicks 493796625 7406  

Figure 3: Results from experimenting with different cursor and viewable area placement

 

The data demonstrates the second value increasing when scrolling down, although it only increments when the top-most viewable line changes. But what is the value incease? When looking at the differences in the two values, it appears that it’s the number of characters that were no longer viewable. 

 


Figure 4: Text highlighted that’s missing after clicking a scroll wheel down once in Word. 

 


Figure 5: Character count [4] of text matches difference between the second portions of two “Position” values from the registry. 

This helps give a bit more confidence that the second value in for “Position” may be the character count. What if we change the “Position” value to something that only sets a character count?

 

Starting “Position” Value Action Taken After Opening Document Ending “Position” Value Notes
0 16542 No action taken 55341811 16525 Was given option to continue from last location
Opened at page 5, line 36, column 18

Figure 6: Experimentation with only setting a non-zero value for second portion of “Position” value. 

 


Figure 7: Starting cursor location upon opening Word document with randomly specified “Position” value in second number position. 

 

Figure 8: Starting cursor location after closing and reopening Word document with randomly specified “Position” value in second number position. 

 

The value of the second number in the “Position” field is the cusor location, but Word appears to set this value to the beginning of the first visible line within Word. This is one reason that the values many not change, even if the cusor is relocated. The value only changes once the top most visible line within Word changes. 

You may have noticed that the first value is also different now. This is the new w14:paraId value that can be seen within the document.xml file when the document is extracted using a look like 7-zip (within word/document.xml). Unfortunately, this value format is different in the document (hex) than it is in the registry (decimal). 


Figure 9: w14:paraId value in document.xml compared with the registry “Position” value data when the value from document.xml is converted from hex to decimal. 

 

What if only the first number value is set (w14:paraId)?

Starting “Position” Value Action Taken After Opening Document Ending “Position” Value Notes
55341811 0 No action taken 55341811 0 Was not given option to continue from last location
Opened at the beginning of page 1

Figure 10: Setting the first number within “Position” to a valid w14:paraId value does not skip to that paragraph. 

 

This character value is needed to properly position the last viewed location for a document in Word. If an invalid w14:paraId is specified with a valid number of characters from start of the document, the continuation feature still functions within Word. From this experiment, the first value may not be used for this continuation feature, but is recorded based on the viewable location in Word at the time Word was closed. 

To use this “Position” value in forensics, a test system can be set up with the appropriate registry information and the corresponding file can be opened to determine where in the file someone was reading when Word was closed. Programatically, this new information could be used to start extracting data from the Word document at the point of last viewing, which may save some time. 

Can you think of any other use for this information? Did someone else figure this out and I just couldn’t find it? Share it with us!

 

[1] https://www.giac.org/certifications/experienced-forensics-examiner-gxfe/
[2] https://www.sans.org/cyber-security-courses/windows-forensic-analysis
[3] https://thinkdfir.com/2019/02/11/microsoft-office-reading-locations-part-1/
[4] https://wordcounter.net/character-count

—
Jesse La Grew
Handler

(c) SANS Internet Storm Center. https://isc.sans.edu Creative Commons Attribution-Noncommercial 3.0 United States License. 

​Read More

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to email a link to a friend (Opens in new window) Email

Like this:

Like Loading...
Share

In The News

Tech Jacks
Derrick Jackson is a IT Security Professional with over 10 years of experience in Cybersecurity, Risk, & Compliance and over 15 Years of Experience in Enterprise Information Technology

Leave A Reply


Leave a Reply Cancel reply

You must be logged in to post a comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  • Blog

    • Security Gate Keeping - Annoying - Unhelpful
      November 13, 2024
    • 15 Years on LinkedIn: An Authentic Reflection(or a Beauty...
      October 24, 2024
    • Podcast & Cloud Security Governance
      February 24, 2021
    • The Journey Continues - Moving through 2021
      January 5, 2021
    • CISSP Journey
      February 22, 2019




  • About TechJacks
  • Privacy Policy
  • Gaming Kaiju
© Copyright Tech Jacks Solutions 2025

%d