Skip to main content
Top
Published in: Programming and Computer Software 6/2018

01-11-2018

OS-Agnostic Identification of Processes and Threads in the Full System Emulation for Selective Instrumentation

Authors: I. A. Vasil’ev, P. V. Dovgalyuk, M. A. Klimushenkova

Published in: Programming and Computer Software | Issue 6/2018

Log in

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

Dynamic binary analysis is one of the most promising and key techniques in the analysis of programs and systems. It is usually based on the technique of dynamic binary instrumentation. The most useful instrumentation technique is whole-system instrumentation because it allows one to analyze operations that occur at the kernel level and monitor interactions between different processes. The whole-system instrumentation makes it possible to perform a wide range of analysis tasks; however, it has certain drawbacks—instrumentation of the whole system causes huge overheads both in terms of the speed of operation of the system under study and in terms of the amount of redundant data obtained for analysis, which significantly complicates the work of the analyst. A way to solve this problem is to use selective instrumentation in which the object of instrumentation is an individual process or thread in the analyzed system. The analyst can specify the information he is interested in while retaining the potentials of the whole-system analysis. To implement selective instrumentation, one needs to identify the current processes, threads, or higher level abstractions to determine the scope of instrumentation. In this paper, a number of available instrumentation systems and techniques used by them to get information of interest are discussed, problems and shortcomings of these systems are identified, an implementation of selective instrumentations for individual processes on ARM and x86 processors is described, and a version of selective instrumentation for threads is proposed.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literature
1.
go back to reference Luk, C.-K., Cohn, R., Muth, R., Patil, H., Klauser, A., Lowney, G., Wallace, S., Reddi, V.J., and Hazelwood, K., Pin: Building customized program analysis tools with dynamic instrumentation, Proc. of the ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI), 2005. Luk, C.-K., Cohn, R., Muth, R., Patil, H., Klauser, A., Lowney, G., Wallace, S., Reddi, V.J., and Hazelwood, K., Pin: Building customized program analysis tools with dynamic instrumentation, Proc. of the ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI), 2005.
2.
go back to reference Nethercote, N. and Seward, J., Valgrind: A framework for heavyweight dynamic binary instrumentation. Proc. of the ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI), 2007, pp. 89–100. Nethercote, N. and Seward, J., Valgrind: A framework for heavyweight dynamic binary instrumentation. Proc. of the ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI), 2007, pp. 89–100.
3.
go back to reference Bruening, D., Duesterwald, E., and Amarasinghe, S., Design and implementation of a dynamic optimization framework for windows, 4th ACM Workshop on Feedback-Directed and Dynamic Optimization (FDDO-4), 2001. Bruening, D., Duesterwald, E., and Amarasinghe, S., Design and implementation of a dynamic optimization framework for windows, 4th ACM Workshop on Feedback-Directed and Dynamic Optimization (FDDO-4), 2001.
4.
go back to reference Henderson, A., Prakash, A., Kwong Yan, L., Xunchao Hu, Xujiewen Wang, Rundong Zhou, and Heng Yin, Make it work, make it right, make it fast: Building a platform-neutral whole-system dynamic binary analysis platform, Int. Symposium on Software Testing and Analysis (ISSTA’14), San Jose, Calif., 2014. Henderson, A., Prakash, A., Kwong Yan, L., Xunchao Hu, Xujiewen Wang, Rundong Zhou, and Heng Yin, Make it work, make it right, make it fast: Building a platform-neutral whole-system dynamic binary analysis platform, Int. Symposium on Software Testing and Analysis (ISSTA’14), San Jose, Calif., 2014.
5.
go back to reference Henderson, A., Kwong Yan, L., Xunchao Hu, Prakash, A., Heng Yin, and McCamant, S., DECAF: A platform-neutral whole-system dynamic binary analysis platform, IEEE Trans. Software Eng., vol. 43, no. 2. Henderson, A., Kwong Yan, L., Xunchao Hu, Prakash, A., Heng Yin, and McCamant, S., DECAF: A platform-neutral whole-system dynamic binary analysis platform, IEEE Trans. Software Eng., vol. 43, no. 2.
6.
go back to reference Zeng, J., Fu, Y., and Lin, Z., Pemu: A pin highly compatible out-of-VM dynamic binary instrumentation framework, Proc. of the 11th ACM SIGPLAN/SIGOPS Int. Conference on Virtual Execution Environments, 2015, pp. 147–160. Zeng, J., Fu, Y., and Lin, Z., Pemu: A pin highly compatible out-of-VM dynamic binary instrumentation framework, Proc. of the 11th ACM SIGPLAN/SIGOPS Int. Conference on Virtual Execution Environments, 2015, pp. 147–160.
7.
go back to reference Dolan-Gavitt, B., Leek, T., Hodosh, J., and Lee, W. Tappan zee (north) bridge: Mining memory accesses for introspection, CCS’13, 2013. Dolan-Gavitt, B., Leek, T., Hodosh, J., and Lee, W. Tappan zee (north) bridge: Mining memory accesses for introspection, CCS’13, 2013.
8.
go back to reference Dolan-Gavitt, B., Leek, T., Zhivich, M., Giffin, J., and Lee, W., Virtuoso: Narrowing the Semantic Gap in Virtual Machine Introspection, Proc. of the 2011 IEEE Symposium on Security and Privacy (SP'11), 2011, pp. 297–312. Dolan-Gavitt, B., Leek, T., Zhivich, M., Giffin, J., and Lee, W., Virtuoso: Narrowing the Semantic Gap in Virtual Machine Introspection, Proc. of the 2011 IEEE Symposium on Security and Privacy (SP'11), 2011, pp. 297–312.
9.
go back to reference Bellard, F., Qemu, a fast and portable dynamic translator, Proc. of the Annual Conference on USENIX, Berkeley, Calif., 2005. Bellard, F., Qemu, a fast and portable dynamic translator, Proc. of the Annual Conference on USENIX, Berkeley, Calif., 2005.
10.
go back to reference Fu, Y. and Lin, Z., Exterior: Using a dual-VMbased external shell for guest-OS introspection, configuration, and recovery, Proc. of the Ninth Annual International Conference on Virtual Execution Environments, Houston, TX, 2013. Fu, Y. and Lin, Z., Exterior: Using a dual-VMbased external shell for guest-OS introspection, configuration, and recovery, Proc. of the Ninth Annual International Conference on Virtual Execution Environments, Houston, TX, 2013.
Metadata
Title
OS-Agnostic Identification of Processes and Threads in the Full System Emulation for Selective Instrumentation
Authors
I. A. Vasil’ev
P. V. Dovgalyuk
M. A. Klimushenkova
Publication date
01-11-2018
Publisher
Pleiades Publishing
Published in
Programming and Computer Software / Issue 6/2018
Print ISSN: 0361-7688
Electronic ISSN: 1608-3261
DOI
https://doi.org/10.1134/S0361768818060178

Other articles of this Issue 6/2018

Programming and Computer Software 6/2018 Go to the issue

Premium Partner